Android Studio 添加动态库os文件的方法

错误

02-28 20:14:13.904 18116-18116/? E/AdFireWallNative﹕ AdFrieWall JNI_OnLoad
02-28 20:14:13.904 18116-18116/? E/AdFireWallNative﹕ AdFireWall JNI_OnLoad done.
02-28 20:14:13.555 743-1064/? E/﹕ Could not open /sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base

解决办法

  1. 将项目视图切换到 project ——①
  2. 在main文件夹下新建一个 jniLibs 文件夹②
  3. 将需要的os动态库文件添加到 jniLibs 文件夹中②

Android Studio 添加动态库os文件的方法_第1张图片

Developed By

zsl - <[email protected]>

你可能感兴趣的:(jni,OS,onLoad,android-studio)