In case of RPK, The native image and Dll exist in the same location, and
it is mounted to application's "bin" directory. (not in .native_image directory).
And Dlls in RPK is loaded by Assembly.Load() method in Tizen 7.0.
To load native image of RPK, add appPath to appNIPath,
appTacPath = concatPath(appBinPath, TAC_SYMLINK_SUB_DIR);
appPaths = appRootPath + ":" + appBinPath + ":" + appLibPath + ":" + appTacPath;
- appNIPaths = appNIBinPath + ":" + appNILibPath + ":" + appTacPath;
+ appNIPaths = appNIBinPath + ":" + appNILibPath + ":" + appPaths;
if (!extraDllPaths.empty()) {
appPaths = appPaths + ":" + extraDllPaths;