Log in or register to post comments

libVuforia.so could not be loaded

March 28, 2014 - 5:34am #1
hello, I have already read the other posts on this topic but I have not solved the problem and state that I have followed to the letter the procedures outlined on the site. 
When I start the app, it closes and the log is written libVuforia.so Could not be loaded as shown in the attached image. Help me please...

libVuforia.so could not be loaded

February 23, 2017 - 7:17pm #17

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.



 

libVuforia.so could not be loaded

December 7, 2016 - 9:34pm #16

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

February 27, 2016 - 3:41am #15

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

January 27, 2016 - 7:22am #14

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.

 

01-27 07:13:00.799: E/art(747): dlopen("/data/app/com.qualcomm.vuforia.samples.VuforiaSamples-2/lib/arm/libVuforia.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.qualcomm.vuforia.samples.VuforiaSamples-2/lib/arm/libVuforia.so" has bad ELF magic
01-27 07:13:00.809: E/AndroidRuntime(747): FATAL EXCEPTION: main
01-27 07:13:00.809: E/AndroidRuntime(747): Process: com.qualcomm.vuforia.samples.VuforiaSamples, PID: 747
01-27 07:13:00.809: E/AndroidRuntime(747): java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.qualcomm.vuforia.samples.VuforiaSamples-2/lib/arm/libVuforia.so" has bad ELF magic
 
 
 

libVuforia.so could not be loaded

February 23, 2015 - 6:19am #13

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

September 29, 2014 - 2:54am #12

libVuforia.so is included under your Vuforia SDK installation directory, under the build / lib / armeabi-v7a folder:

vuforia-sdk-android-3-0-5\build\lib\armeabi-v7a

 

libVuforia.so could not be loaded

September 27, 2014 - 7:14pm #11

sorry ,How can we create the libVuforia.so and i did not find it  in my projects?

libVuforia.so could not be loaded

September 27, 2014 - 7:13pm #10

sorry ,How can we create the libVuforia.so and i did not find it  in my projects?

libVuforia.so could not be loaded

March 31, 2014 - 12:55pm #9

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

March 31, 2014 - 8:55am #8

I noticed that when eclipse making the project build the library libVuforia.so disappears. Why? Help me..

libVuforia.so could not be loaded

March 29, 2014 - 4:41am #7

Sorry but I can't find .project file. I attach my project and the vuforia sample in eclipse.

libVuforia.so could not be loaded

March 28, 2014 - 11:42pm #6

The .project should be located in the root folder of your project.

Maybe try starting from a Vuforia sample (and use Eclipse).

libVuforia.so could not be loaded

March 28, 2014 - 7:15am #5

With the CopyVuforiaFiles.xml doesn't work and I can't find the .project file. Where is it?

Sorry for all these questions.

libVuforia.so could not be loaded

March 28, 2014 - 7:09am #4

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>&lt;project&gt;/.externalToolBuilders/CopyVuforiaFiles.launch</value>
				</dictionary>
			</arguments>
		</buildCommand>

 

libVuforia.so could not be loaded

March 28, 2014 - 6:12am #3

I did as you suggested but when I build the project the library libVuforia.so disappears from the folder armeabi. In addition, the file CopyVuforiaFiles.xml was not created automatically, but I had to create it.

libVuforia.so could not be loaded

March 28, 2014 - 5:55am #2

Try manually copying the libVuforia.so file

from:

vuforia-sdk-android-2-8-7 / build / lib / armeabi-v7a /

to:

your_android_project_dir / libs / armeabi-v7a / 

 

Then refresh your Eclipse project, build and run.

 

Log in or register to post comments