Attachment | Size |
---|---|
![]() | 29.38 KB |
![]() | 29.38 KB |
- Sort Posts
- 16 replies
- Last post
libVuforia.so could not be loaded
libVuforia.so could not be loaded
I have done this in ANDROID Studio but it always showing same error again.
I am using video playback samples but my project automatically exit when i click on start for start videoplayback class.
12-08 10:52:38.241 21642-21642/com.vuforia.samples.VideoPlayback W/System: ClassLoader referenced unknown path: /data/app/com.vuforia.samples.VideoPlayback-1/lib/arm64
12-08 10:52:38.243 21642-21642/com.vuforia.samples.VideoPlayback I/InstantRun: Instant Run Runtime started. Android package is com.vuforia.samples.VideoPlayback, real application class is null.
12-08 10:52:38.298 21642-21642/com.vuforia.samples.VideoPlayback W/System: ClassLoader referenced unknown path: /data/app/com.vuforia.samples.VideoPlayback-1/lib/arm64
12-08 10:52:38.306 21642-21642/com.vuforia.samples.VideoPlayback D/ActivityThread: BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{306d286 com.vuforia.samples.VideoPlayback}}
12-08 10:52:38.306 21642-21642/com.vuforia.samples.VideoPlayback I/ActivityThread: [AppLaunch] handleLaunchActivity is called
12-08 10:52:38.306 21642-21642/com.vuforia.samples.VideoPlayback V/ActivityThread: Handling launch of ActivityRecord{7b0a747 token=android.os.BinderProxy@1190b74 {com.vuforia.samples.VideoPlayback/com.vuforia.samples.VideoPlayback.app.VideoPlayback.VideoPlayback}} startsNotResumed=false
12-08 10:52:38.345 21642-21642/com.vuforia.samples.VideoPlayback V/ActivityThread: ActivityRecord{7b0a747 token=android.os.BinderProxy@1190b74 {com.vuforia.samples.VideoPlayback/com.vuforia.samples.VideoPlayback.app.VideoPlayback.VideoPlayback}}: app=android.app.Application@f6d9112, appName=com.vuforia.samples.VideoPlayback, pkg=com.vuforia.samples.VideoPlayback, comp={com.vuforia.samples.VideoPlayback/com.vuforia.samples.VideoPlayback.app.VideoPlayback.VideoPlayback}, dir=/data/app/com.vuforia.samples.VideoPlayback-1/base.apk
12-08 10:52:38.347 21642-21642/com.vuforia.samples.VideoPlayback I/Typeface: setThemeFont(): sThemeFontPath = null,fontPath =
12-08 10:52:38.347 21642-21642/com.vuforia.samples.VideoPlayback D/Typeface: hj dbg: init() start, current country=IN,language id=en
12-08 10:52:38.366 21642-21642/com.vuforia.samples.VideoPlayback E/Minikin: addFont failed to create font /system/fonts/NanumGothic.ttf
12-08 10:52:38.366 21642-21642/com.vuforia.samples.VideoPlayback E/Minikin: addFont failed to create font /system/fonts/DroidSansFallback.ttf
12-08 10:52:38.366 21642-21642/com.vuforia.samples.VideoPlayback E/Minikin: addFont failed to create font /system/fonts/MTLmr3m.ttf
12-08 10:52:38.407 21642-21642/com.vuforia.samples.VideoPlayback I/Instrumentation: [AppLaunch] activity.onCreate +
12-08 10:52:38.407 21642-21642/com.vuforia.samples.VideoPlayback I/Activity: [AppLaunch] activity.onCreate +
12-08 10:52:38.407 21642-21642/com.vuforia.samples.VideoPlayback D/VideoPlayback: onCreate
12-08 10:52:38.435 21642-21676/com.vuforia.samples.VideoPlayback W/System.err: The library libVuforia.so could not be loaded
12-08 10:52:38.438 21642-21676/com.vuforia.samples.VideoPlayback I/art: System.exit called, status: 1
12-08 10:52:38.438 21642-21676/com.vuforia.samples.VideoPlayback I/AndroidRuntime: VM exiting with result code 1, cleanup skipped.
libVuforia.so could not be loaded
Eclipse ? I highly recommend Android Studio or Intellij because with the samples 5.0.10 they have ported the samples to Android Studio and you just need to download Vuforia SDK+Sample projects. To make it work, extract sample projects into Vuforia SDK->samples and you can open the samples from Android Studio -> Open Project. Also maybe you need to configure module's gradle file from def VUFORIA_SDK_DIR = '../../..' to def VUFORIA_SDK_DIR = '..' (in my case I had to do it)
libVuforia.so could not be loaded
getting this error back from eclipse
im assuiming its the livVuforia.so file thats not working. please contact me back when you get a chance.
libVuforia.so could not be loaded
eclipse will automatically copy this so file to your project, nomatter the project path.
CopyVuforiaSo:
[copy] Copying 1 file to D:\balabala\vuforia-sdk-android-3-0-9\samples\VuforiaSamples-3-0-5_0\libs\armeabi-v7a
BUILD SUCCESSFUL
Total time: 181 milliseconds
BUT, i find it the problem is using android virtual machines(android2.3), it promopts this error(cannot load this so file), but it's no problem running on a real android machine(android4.0.4).
so try out with a real android machine!good luck.
libVuforia.so could not be loaded
This may be cause by the CopyVuforiaFiles.xml, which copies the armeabi-v7a directory, and perhaps in your case it cannot find the src directory, so it will try to copy an empty folder.
I recommend starting again from the Samples, check that they compile properly (otherwise it means you have not installed Vuforia correctly); if the samples can build, you can then create your project by copying one of the samples in Eclipse.
Check the Getting started Guide to be sure you have installed everything correctly and how to build the samples:
https://developer.vuforia.com/resources/sdk/android
libVuforia.so could not be loaded
Sorry but I can't find .project file. I attach my project and the vuforia sample in eclipse.
Attachment | Size |
---|---|
![]() | 35.92 KB |
![]() | 34.63 KB |
libVuforia.so could not be loaded
So, now that you have added CopyVuforiaFiles.xml, does it work ?
If not, you may need to add these lines to your .project file:
<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>VuforiaSamples</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> <triggers>full,incremental,</triggers> <arguments> <dictionary> <key>LaunchConfigHandle</key> <value><project>/.externalToolBuilders/CopyVuforiaFiles.launch</value> </dictionary> </arguments> </buildCommand>
Hi,
For targeting android in QT, you can add under Properties->Build Android Apk(expand Details)->Additional Libraries(Add)
Just navigate to .so file and add.