开发者

Why is not working in AVD?

  1. Example aplication works fine on real device (tested on: Nexsus One, Galaxy S)
  2. Example uses pre-compiled open-cv lib-s, exactly javacv
  3. On android virtual device AVD, same example is not working it crashes on pre-loading external library (AVD hardware added for camera and network support, 1024RAM, max VM heap size 64MB). Exact line where it stops is: com.googlecode.javacpp.Loader.load(opencv_objdetect.class); in short: Loader.load(opencv_objdetect.class);
  4. LogCat (lot of reports)

Is there any additional setting in AVD to make this simple app work or I`m I missing something?


In my case .so files were compiled for ARMv7 that is not supported in emulator, also some Android devices don't have FPU - effect is the same.

So if you are developing 3rd party libraries please provide both version (recompile). It is important that it works in emulator (teaching etc...).


check the Api level of Avd i.e set Api level 8, as nexus one having api level 8

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜