Closed arianaa30 closed 8 years ago
There should be some .so files in libs/armeabi-v7a/ or so. You need those as well. Iff that's not the problem you'll need to post your logcat output somewhere we can take a look at it.
I actually tried both adding the .jar file and adding a folder which contains the .so files. Neither worked. I can send the project which is actually the cube demo. But a stupid question: how can i get the logcat while it is not connected to the machine?! For the app to run we should connect it to Gear!!
Sent from my phone. Pls excuse typos and brevity. On May 18, 2016 9:49 PM, "gearvrf" notifications@github.com wrote:
There should be some .so files in libs/armeabi-v7a/ or so. You need those as well. Iff that's not the problem you'll need to post your logcat output somewhere we can take a look at it.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/569#issuecomment-220226961
Sett8ngs->Application Manager->GearVr Service->Manage Storage. In there, click on "version" 7 times and you should get the option to turn on 'developer mode'. With that, you can run outside the headset while still connected to the computer. Oculus has this documented. We should add this info to our website as well.
In addition, while connected to the headset, you can connect over wifi with adb. First, while connected via usb, do: adb tcpip 5555 Then afterwards, connect with: adb connect phone_ip_address after that you can use logcat
Thanks. I will try to see if I can get the logcat. Can you check the project meanwhile? Here is the simple project: https://www.dropbox.com/s/1s1tvp343dtfjr8/main.zip?dl=0
I was able to get the logcat- Not sure if the whole thing is app specific:
05-19 13:01:26.428: E/Watchdog(3565): !@Sync 3584 [05-19 22:01:26.432]
05-19 13:01:27.168: E/AffinityControl(17809): AffinityControl: registerfunction enter
05-19 13:01:27.968: E/AffinityControl(17819): AffinityControl: registerfunction enter
05-19 13:01:28.128: E/Sensors(3565): Mag old sensor_state 5, new sensor_state : 1 en : 0
05-19 13:01:28.218: E/Zygote(17829): v2
05-19 13:01:28.218: E/Zygote(17829): accessInfo : 0
05-19 13:01:28.248: E/art(17829): Failed sending reply to debugger: Broken pipe
05-19 13:01:28.268: E/AndroidRuntime(17829): FATAL EXCEPTION: main
05-19 13:01:28.268: E/AndroidRuntime(17829): Process: org.gearvrf.testcube, PID: 17829
05-19 13:01:28.268: E/AndroidRuntime(17829): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.gearvrf.testcube/org.gearvrf.testcube.SampleActivity}: java.lang.ClassNotFoundException: Didn't find class "org.gearvrf.testcube.SampleActivity" on path: DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm64, /vendor/lib64, /system/lib64]]
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.ActivityThread.access$1100(ActivityThread.java:222)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.os.Handler.dispatchMessage(Handler.java:102)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.os.Looper.loop(Looper.java:158)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.ActivityThread.main(ActivityThread.java:7229)
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.reflect.Method.invoke(Native Method)
05-19 13:01:28.268: E/AndroidRuntime(17829): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
05-19 13:01:28.268: E/AndroidRuntime(17829): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
05-19 13:01:28.268: E/AndroidRuntime(17829): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.gearvrf.testcube.SampleActivity" on path: DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm64, /vendor/lib64, /system/lib64]]
05-19 13:01:28.268: E/AndroidRuntime(17829): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.Instrumentation.newActivity(Instrumentation.java:1095)
05-19 13:01:28.268: E/AndroidRuntime(17829): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3084)
05-19 13:01:28.268: E/AndroidRuntime(17829): ... 9 more
05-19 13:01:28.268: E/AndroidRuntime(17829): Suppressed: java.lang.NoClassDefFoundError: org.gearvrf.testcube.SampleActivity
05-19 13:01:28.268: E/AndroidRuntime(17829): at dalvik.system.DexFile.defineClassNative(Native Method)
05-19 13:01:28.268: E/AndroidRuntime(17829): at dalvik.system.DexFile.defineClass(DexFile.java:226)
05-19 13:01:28.268: E/AndroidRuntime(17829): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
05-19 13:01:28.268: E/AndroidRuntime(17829): at dalvik.system.DexPathList.findClass(DexPathList.java:338)
05-19 13:01:28.268: E/AndroidRuntime(17829): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
05-19 13:01:28.268: E/AndroidRuntime(17829): ... 13 more
05-19 13:01:28.268: E/AndroidRuntime(17829): Suppressed: java.lang.ClassNotFoundException: org.gearvrf.testcube.SampleActivity
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.Class.classForName(Native Method)
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
05-19 13:01:28.268: E/AndroidRuntime(17829): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
05-19 13:01:28.268: E/AndroidRuntime(17829): ... 12 more
05-19 13:01:28.268: E/AndroidRuntime(17829): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
05-19 13:01:28.288: E/android.os.Debug(3565): ro.product_ship = true
05-19 13:01:28.288: E/android.os.Debug(3565): ro.debug_level = 0x4f4c
05-19 13:01:28.288: E/android.os.Debug(3565): sys.mobilecare.preload = false
05-19 13:01:28.448: E/JavaBinder(3565): !!! FAILED BINDER TRANSACTION !!! (parcel size = 68)
05-19 13:01:28.518: E/InputDispatcher(3565): channel ~ Channel is unrecoverably broken and will be disposed!
05-19 13:01:31.528: E/Zygote(17850): v2
05-19 13:01:31.538: E/Zygote(17850): accessInfo : 0
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
05-19 13:01:31.948: E/SensorService(3565): getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:32.228: E/Unity(17850): Unable to find OculusInitPlugin
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
05-19 13:01:32.408: E/SensorService(3565): getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:32.948: E/Unity(17850): Unable to find OVRPlugin
05-19 13:01:32.958: E/Unity(17850): Unable to find OVRPlugin
05-19 13:01:33.868: E/Unity(17850): Unable to find OVRPlugin
05-19 13:01:34.408: E/Sensors(3565): Mag old sensor_state 1, new sensor_state : 5 en : 1
05-19 13:01:35.778: E/Zygote(17967): v2
05-19 13:01:35.778: E/Zygote(17967): accessInfo : 0
05-19 13:01:35.908: E/GMPM(17967): GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
05-19 13:01:35.908: E/GMPM(17967): Scheduler not set. Not logging error/warn.
05-19 13:01:35.918: E/GMPM(17967): Uploading is not possible. App measurement disabled
05-19 13:01:36.188: E/SensorService(3565): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
05-19 13:01:36.188: E/SensorService(3565): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
05-19 13:01:36.188: E/SensorService(3565): getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:36.188: E/SensorService(3565): getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:36.188: E/SensorService(3565): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
05-19 13:01:36.188: E/SensorService(3565): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
05-19 13:01:36.198: E/SensorService(3565): getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
05-19 13:01:36.688: E/Unity(17850): Oculus Home: Localization Key not found home_tutorial_name
05-19 13:01:36.688: E/Unity(17850):
05-19 13:01:36.688: E/Unity(17850): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
05-19 13:01:37.128: E/BatteryStatsImpl(3565): Wifi multicast lock enabled by UID = 10018
well, from the logs, it looks like you have a pretty fundamental build problem: Suppressed: java.lang.ClassNotFoundException: org.gearvrf.testcube.SampleActivity
it seems like it is not finding your activity.
I download your zip file and got it to run. Two things:
1) I saw that you had the source under java/ rather than src/, so I moved that and removed the line in ant.properties. With the source in the java/ directory, I got the same ClassNotFoundExceptions. Not sure why this is a problem, but it appears to be a problem. 2) You were missing libvrapi.so. That didn't seem to be in there anywhere. Had to add it.
I just did what you did, but still get the same error: 1- I moved the package from java to src/ 2- I removed the line in ant.properties...so it is empty 3- I added the libvrapi.so file to both armeabi-v7a as well as the libs-gvrf itself. 4?- (shall I do this as per your documentation?) I add the libs-gvrf to the source list. But after I do this, when I want to run I get error:
[2016-05-20 11:20:59 - Dex Loader] Unable to execute dex: Too many errors
[2016-05-20 11:20:59 - gvrtestcube] Conversion to Dalvik format failed: Unable to execute dex: Too many errors
Anyways, I'm assuming I'm not doing 4. What is the problem that I cannot run it? Here are the photos of properties/build path so you can confirm. Can you just post the project folder you were able to run?
i checked in my version of the project here: https://github.com/thomasflynn/GearVRf-Demos/tree/ariana under the ariana/ directory.
hold on, checked in the wrong thing...
ok, my checkin is good now. i've tested it as well.
Thanks for the fast check and putting it on the repo. But are you sure it is running for you, hopefully if we are on the same page and looking at the same project? (arianaa30/main ...right?) When I simply import it on eclipse, it contains errors. I have to go to properties/ build path and add both framework.jar, and add java/ folder (eventhough it is empty). You said you removed the first line of ant.properties and added .so files. I don't see any .so files in the project! And ant.properties is unchanged.
whoops. .gitignore got me. it filters out .so files. I'll fix that. I built from the command line. (android update project -path pwd
; ant debug). I wasn't at my desk when I did this, so I ssh'd into my desktop and did it all via the command line. I'll double check it with eclipse.
ok, i update that branch. added the .so files and ran with eclipse. i didn't have to add the java/ directory. the framework jar seems to be named gvrf_exported.jar. so i did have to change that for eclipse to like things. after i did that, it ran fine.
Thanks. Things got better. For me still importing the project throws error. In the properties>build path>source, it has /java folder which is missing. I just removed it, so I could run it as a java application. However, I get an error when trying to run:
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/package-info;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/ActivityHandler;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/ActivityHandlerRenderingCallbacks;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/FutureWrapper;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/GVRActivity;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/GVRActivity$1;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/GVRActivity$2;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/GVRActivity$3;
[2016-05-20 15:38:25 - gvrtestcube] Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/gearvrf/GVRActivity$4;
[2016-05-20 15:38:25 - Dex Loader] Unable to execute dex: Too many errors
[2016-05-20 15:38:25 - gvrtestcube] Conversion to Dalvik format failed: Unable to execute dex: Too many errors
OK, wait. I restarted Eclipse, and ran it again. I get the initial App.. closed unexpectedly
error when running on the Gear. Here are the whole logcat which looks different from before:
05-20 15:49:01.964: E/Zygote(1613): v2
05-20 15:49:01.974: E/Zygote(1613): accessInfo : 0
05-20 15:49:02.104: E/Zygote(1636): v2
05-20 15:49:02.104: E/Zygote(1636): accessInfo : 0
05-20 15:49:02.184: E/Zygote(1654): v2
05-20 15:49:02.184: E/Zygote(1654): accessInfo : 0
05-20 15:49:02.214: E/ConnectivityService(3434): RemoteException caught trying to send a callback msg for NetworkRequest [ id=28, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
05-20 15:49:02.264: E/FilterPackageIntentReceiver(1399): This package is not a effect filter
05-20 15:49:02.314: E/Zygote(1677): v2
05-20 15:49:02.314: E/Zygote(1677): accessInfo : 0
05-20 15:49:02.404: E/IntentOperationSvc(5073): Failed to instantiate Chimera operation impl, dropping operation
05-20 15:49:02.504: E/IcingInternalCorpora(5073): Unknown Contacts update mode: MAYBE
05-20 15:49:02.814: E/Zygote(1787): v2
05-20 15:49:02.814: E/Zygote(1787): accessInfo : 0
05-20 15:49:02.904: E/Zygote(1813): v2
05-20 15:49:02.904: E/Zygote(1813): accessInfo : 0
05-20 15:49:03.204: E/Zygote(1867): v2
05-20 15:49:03.204: E/Zygote(1867): accessInfo : 0
05-20 15:49:03.324: E/Zygote(1895): v2
05-20 15:49:03.324: E/Zygote(1895): accessInfo : 0
05-20 15:49:03.394: E/Zygote(1918): v2
05-20 15:49:03.404: E/Zygote(1918): accessInfo : 0
05-20 15:49:03.644: E/IcingInternalCorpora(5073): Unknown Contacts update mode: MAYBE
05-20 15:49:03.674: E/NetworkScheduler.SR(4336): Invalid parameter app
05-20 15:49:03.674: E/NetworkScheduler.SR(4336): Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
05-20 15:49:03.794: E/Zygote(1987): v2
05-20 15:49:03.794: E/Zygote(1987): accessInfo : 0
05-20 15:49:04.114: E/Zygote(2048): v2
05-20 15:49:04.114: E/Zygote(2048): accessInfo : 0
05-20 15:49:04.274: E/HealthDataStore(2048): disconnectService: Context instance is invalid
05-20 15:49:05.304: E/AffinityControl(2172): AffinityControl: registerfunction enter
05-20 15:49:05.624: E/fb4a(:<default>):QeInternalImpl(1508): Exposure logged while sessioned store was null
05-20 15:49:05.984: E/fb4a(:<default>):OmnistoreComponentManager(1508): Legacy injection is forcing OmnistoreComponentManager to init as a side-effect
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): could not initialize omnistore for interstitial manager
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): java.lang.NullPointerException: Attempt to invoke virtual method 'com.facebook.omnistore.CollectionName$Builder com.facebook.omnistore.Omnistore.createCollectionNameBuilder(java.lang.String)' on a null object reference
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.interstitial.InterstitialModule.a(oxygen_map_tile_overlay_draw_time_ns:112)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.interstitial.CollectionName_InterstitialConfigurationCollectionMethodAutoProvider.b(oxygen_map_touch_event_time_ns:16)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.interstitial.CollectionName_InterstitialConfigurationCollectionMethodAutoProvider.a(oxygen_map_touch_event_time_ns:89)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.inject.FbInjectorImplHead.l(unregistered_reason:11536)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.inject.FbInjectorImplHead.a(unregistered_reason:45)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.inject.FbInjectorImpl.a(withWorkingRanges should only be called once.:405)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.inject.IdBasedLazy.onGetInstance(video_upload:22)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.inject.AbstractDefaultScopeLazy.get(video_story:42)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.interstitial.omnistore.InterstitialConfigurationOmnistoreSubscriber.b(p:125)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.interstitial.omnistore.InterstitialConfigurationOmnistoreInit.init(records:47)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.common.noncriticalinit.NonCriticalInitializer.a(send_gatekeepers_async:105)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.common.noncriticalinit.NonCriticalInitializer$2.run(send_gatekeepers_async:121)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.common.appchoreographer.DefaultAppChoreographer$5.run(viewer_join_state:374)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.common.executors.WrappingExecutorService$1.run(verified_caller_intent:77)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.common.executors.DefaultConstrainedListeningExecutorService$Worker.run(via method :327)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at com.facebook.common.executors.NamedThreadFactory$1.run(vibrator:42)
05-20 15:49:06.004: E/fb4a(:<default>):InterstitialConfigurationOmnistoreInit(1508): at java.lang.Thread.run(Thread.java:818)
05-20 15:49:06.034: E/Zygote(2299): v2
05-20 15:49:06.034: E/Zygote(2299): accessInfo : 0
05-20 15:49:06.054: E/Zygote(2312): v2
05-20 15:49:06.054: E/Zygote(2312): accessInfo : 0
05-20 15:49:07.464: E/Watchdog(3434): !@Sync 674 [05-20 15:49:07.479]
05-20 15:49:08.984: E/AffinityControl(2608): AffinityControl: registerfunction enter
05-20 15:49:09.134: E/Zygote(2620): v2
05-20 15:49:09.134: E/Zygote(2620): accessInfo : 0
05-20 15:49:09.294: E/Zygote(2643): v2
05-20 15:49:09.294: E/Zygote(2643): accessInfo : 0
05-20 15:49:09.304: E/BluetoothHeadset(25719): BTStateChangeCB is registed
05-20 15:49:09.884: E/Zygote(2700): v2
05-20 15:49:09.884: E/Zygote(2700): accessInfo : 0
05-20 15:49:10.264: E/SamsungIME(10638): isHWKeyboardConnected() = false --> false
05-20 15:49:10.264: E/EventHub(3434): event node not found: mouse0
05-20 15:49:10.274: E/EventHub(3434): could not get driver version for /dev/input/mouse0, Not a typewriter
05-20 15:49:10.284: E/SamsungIME(10638): resetNeedToLoadHwrLibrary : 0
05-20 15:49:10.374: E/Tethering(3434): No numeric data
05-20 15:49:10.434: E/Zygote(2748): v2
05-20 15:49:10.434: E/Zygote(2748): accessInfo : 0
05-20 15:49:10.554: E/WindowManager(3434): Performed 6 layouts in a row. Skipping
05-20 15:49:10.574: E/SamsungIME(10638): resetNeedToLoadHwrLibrary : 0
05-20 15:49:10.624: E/Zygote(2763): v2
05-20 15:49:10.624: E/Zygote(2763): accessInfo : 0
05-20 15:49:10.704: E/Zygote(2778): v2
05-20 15:49:10.704: E/Zygote(2778): accessInfo : 0
05-20 15:49:10.754: E/AirWatch(2778): We could not reinitialize the Containers.
05-20 15:49:11.014: E/AirWatch(2778): We could not reinitialize the Containers.
05-20 15:49:11.244: E/AffinityControl(2812): AffinityControl: registerfunction enter
05-20 15:49:11.254: E/InputReader(3434): Undefined HMT TA event, not broadcasting
05-20 15:49:11.264: E/InputReader(3434): Undefined HMT TA event, not broadcasting
05-20 15:49:11.414: E/Zygote(2835): v2
05-20 15:49:11.414: E/Zygote(2835): accessInfo : 0
05-20 15:49:11.494: E/JniUtils(2835): FindClass( com/oculus/vrapi/loader/AppLoader ) failed
05-20 15:49:11.494: A/libc(2835): Fatal signal 6 (SIGABRT), code -6 in tid 2835 (earvrf.testcube)
05-20 15:49:11.544: A/DEBUG(3136): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-20 15:49:11.544: A/DEBUG(3136): Build fingerprint: 'samsung/heroltexx/herolte:6.0.1/MMB29K/G930FXXU1APDH:user/release-keys'
05-20 15:49:11.544: A/DEBUG(3136): Revision: '8'
05-20 15:49:11.544: A/DEBUG(3136): ABI: 'arm'
05-20 15:49:11.544: A/DEBUG(3136): pid: 2835, tid: 2835, name: earvrf.testcube >>> org.gearvrf.testcube <<<
05-20 15:49:11.544: A/DEBUG(3136): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-20 15:49:11.554: A/DEBUG(3136): r0 00000000 r1 00000b13 r2 00000006 r3 f748bd9c
05-20 15:49:11.554: A/DEBUG(3136): r4 f748bda4 r5 f748bd54 r6 00000054 r7 0000010c
05-20 15:49:11.554: A/DEBUG(3136): r8 f38d0d0c r9 00000000 sl 00000000 fp 12cf6200
05-20 15:49:11.554: A/DEBUG(3136): ip 00000006 sp ff8cd400 lr f71e8365 pc f71ea754 cpsr 400f0010
05-20 15:49:11.554: A/DEBUG(3136): backtrace:
05-20 15:49:11.554: A/DEBUG(3136): #00 pc 00042754 /system/lib/libc.so (tgkill+12)
05-20 15:49:11.554: A/DEBUG(3136): #01 pc 00040361 /system/lib/libc.so (pthread_kill+32)
05-20 15:49:11.554: A/DEBUG(3136): #02 pc 0001ca9b /system/lib/libc.so (raise+10)
05-20 15:49:11.554: A/DEBUG(3136): #03 pc 00019d19 /system/lib/libc.so (__libc_android_abort+34)
05-20 15:49:11.554: A/DEBUG(3136): #04 pc 0001755c /system/lib/libc.so (abort+4)
05-20 15:49:11.554: A/DEBUG(3136): #05 pc 000039d8 /data/app/org.gearvrf.testcube-1/lib/arm/libvrapi.so
05-20 15:49:11.554: A/DEBUG(3136): #06 pc 00006358 /data/app/org.gearvrf.testcube-1/lib/arm/libvrapi.so
05-20 15:49:11.554: A/DEBUG(3136): #07 pc 00004108 /data/app/org.gearvrf.testcube-1/lib/arm/libvrapi.so (vrapi_Initialize+116)
05-20 15:49:11.554: A/DEBUG(3136): #08 pc 000ce4d8 /data/app/org.gearvrf.testcube-1/lib/arm/libgvrf.so (_ZN3gvr11GVRActivity15initializeVrApiEv+84)
05-20 15:49:11.554: A/DEBUG(3136): #09 pc 0077a18d /data/app/org.gearvrf.testcube-1/oat/arm/base.odex (offset 0x429000) (int org.gearvrf.VrapiActivityHandler.nativeInitializeVrApi(long)+88)
05-20 15:49:11.554: A/DEBUG(3136): #10 pc 00779815 /data/app/org.gearvrf.testcube-1/oat/arm/base.odex (offset 0x429000) (void org.gearvrf.VrapiActivityHandler.<init>(org.gearvrf.GVRActivity, org.gearvrf.ActivityHandlerRenderingCallbacks)+664)
05-20 15:49:11.554: A/DEBUG(3136): #11 pc 0075b28f /data/app/org.gearvrf.testcube-1/oat/arm/base.odex (offset 0x429000) (void org.gearvrf.GVRActivity.onCreate(android.os.Bundle)+1338)
05-20 15:49:11.554: A/DEBUG(3136): #12 pc 00863ef9 /data/app/org.gearvrf.testcube-1/oat/arm/base.odex (offset 0x429000) (void org.gearvrf.testcube.SampleActivity.onCreate(android.os.Bundle)+60)
05-20 15:49:11.554: A/DEBUG(3136): #13 pc 036dbb57 /system/framework/arm/boot.oat (offset 0x2f2a000)
05-20 15:49:11.664: A/DEBUG(3136): Tombstone written to: /data/tombstones/tombstone_06
05-20 15:49:11.664: E/DEBUG(3136): AM write failed: Broken pipe
05-20 15:49:11.664: E/(3136): ro.product_ship = true
05-20 15:49:11.664: E/(3136): ro.debug_level = 0x4f4c
05-20 15:49:11.664: E/(3136): sys.mobilecare.preload = false
05-20 15:49:11.664: E/audit(5557): type=1701 msg=audit(1463784551.664:392): auid=4294967295 uid=10192 gid=10192 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=2835 comm="earvrf.testcube" exe="/system/bin/app_process32" sig=6
05-20 15:49:11.664: E/SharedPreferencesImpl(3434): Couldn't create directory for SharedPreferences file /data/user/0/android/shared_prefs/log_files.xml
05-20 15:49:11.664: E/lowmemorykiller(2989): Error writing /proc/2835/oom_score_adj; errno=22
05-20 15:49:11.684: E/android.os.Debug(3434): ro.product_ship = true
05-20 15:49:11.684: E/android.os.Debug(3434): ro.debug_level = 0x4f4c
05-20 15:49:11.684: E/android.os.Debug(3434): sys.mobilecare.preload = false
05-20 15:49:11.734: E/SamsungIME(10638): isHWKeyboardConnected() = false --> false
05-20 15:49:11.754: E/SamsungIME(10638): resetNeedToLoadHwrLibrary : 0
05-20 15:49:11.814: E/Zygote(2948): v2
05-20 15:49:11.814: E/Zygote(2948): accessInfo : 0
05-20 15:49:11.824: E/Tethering(3434): No numeric data
05-20 15:49:11.834: E/MARsDBManager(3434): updateDBAll : begin --size 3
05-20 15:49:11.924: E/MARsDBManager(3434): updateDBAll : end
05-20 15:49:12.224: E/Zygote(3074): v2
05-20 15:49:12.234: E/Zygote(3074): accessInfo : 0
05-20 15:49:19.944: E/Zygote(3383): v2
05-20 15:49:19.954: E/Zygote(3383): accessInfo : 0
05-20 15:49:20.084: E/Zygote(3399): v2
05-20 15:49:20.084: E/Zygote(3399): accessInfo : 0
05-20 15:49:20.194: E/Zygote(3413): v2
05-20 15:49:20.204: E/Zygote(3413): accessInfo : 0
05-20 15:49:20.294: E/Launcher.Model(4437): onPackageChanged :com.samsung.android.app.galaxyfinder
05-20 15:49:20.304: E/IcingInternalCorpora(5073): Unknown Contacts update mode: MAYBE
05-20 15:49:20.414: E/Launcher.Model(4437): onPackageChanged :com.samsung.android.hmt.vrsvc
05-20 15:49:20.634: E/Zygote(3459): v2
05-20 15:49:20.634: E/Zygote(3459): accessInfo : 0
05-20 15:49:20.864: E/Zygote(3477): v2
05-20 15:49:20.864: E/Zygote(3477): accessInfo : 0
05-20 15:49:21.054: E/Zygote(3507): v2
05-20 15:49:21.054: E/Zygote(3507): accessInfo : 0
05-20 15:49:21.384: E/IcingInternalCorpora(5073): Unknown Contacts update mode: MAYBE
05-20 15:49:25.484: E/Zygote(3622): v2
05-20 15:49:25.484: E/Zygote(3622): accessInfo : 0
05-20 15:49:25.974: E/Babel_SMS(3622): canonicalizeMccMnc: invalid mccmnc
05-20 15:49:25.974: E/Babel_SMS(3622): canonicalizeMccMnc: invalid mccmnc nullnull
05-20 15:49:30.654: E/Zygote(3673): v2
05-20 15:49:30.654: E/Zygote(3673): accessInfo : 0
05-20 15:49:30.824: E/GMPM(3673): GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
05-20 15:49:30.824: E/GMPM(3673): Scheduler not set. Not logging error/warn.
05-20 15:49:30.844: E/GMPM(3673): Uploading is not possible. App measurement disabled
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
05-20 15:49:31.304: E/SensorService(3434): getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
05-20 15:49:32.334: E/BatteryStatsImpl(3434): Wifi multicast lock enabled by UID = 10018
05-20 15:49:34.544: E/PhoneInterfaceManager(4423): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
05-20 15:49:36.194: E/Zygote(3731): v2
05-20 15:49:36.194: E/Zygote(3731): accessInfo : 0
05-20 15:49:37.464: E/Watchdog(3434): !@Sync 675 [05-20 15:49:37.481]
05-20 15:49:40.944: E/Zygote(3763): v2
05-20 15:49:40.944: E/Zygote(3763): accessInfo : 0
05-20 15:49:43.294: E/Zygote(3787): v2
05-20 15:49:43.294: E/Zygote(3787): accessInfo : 0
05-20 15:49:45.494: E/PhoneInterfaceManager(4423): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
05-20 15:49:47.584: E/KeyguardViewMediator(4053): lockAfterTimeout = 86400000 policyTimeout = 0
05-20 15:49:48.294: E/PowerManagerService(3434): [PWL] SCREEN_BRIGHT_WAKE_LOCK 'VR Service' ACQUIRE_CAUSES_WAKEUP ON_AFTER_RELEASE (uid=1000, pid=25719, ws=null) (elapsedTime=38970)
05-20 15:49:48.294: E/PowerManagerService(3434): [PWL] SCREEN_BRIGHT_WAKE_LOCK 'VR Dock' ACQUIRE_CAUSES_WAKEUP ON_AFTER_RELEASE (uid=1000, pid=25719, ws=null) (elapsedTime=38534)
05-20 15:49:48.294: E/PowerManagerService(3434): handleSandman : startDreaming, but isDreaming false
05-20 15:49:48.304: E/KeyguardViewMediator(4053): setShowingLocked mShowing = true
05-20 15:49:48.394: E/MotionRecognitionService(3434): handler : SCREEN_OFF end
05-20 15:49:48.424: E/ucsBai_agentService(10145): notifyChange NOT SUPPORTED
05-20 15:49:48.434: E/KeyguardPasswordView(4053): onResume
05-20 15:49:48.444: E/WifiNative-wlan0(3434): do suspend true
05-20 15:49:48.614: E/KeyguardPasswordView(4053): onPause
05-20 15:49:48.664: E/SdpServiceKeeper(3434): isLicensed {pid:4053 uid:10061 userid:0 doPkg:null}
05-20 15:49:48.664: E/SdpServiceKeeper(3434): System app. Skip license activation
05-20 15:49:48.664: E/SdpServiceKeeper(3434): isLicensed {pid:4053 uid:10061 userid:0 doPkg:null}
05-20 15:49:48.664: E/SdpServiceKeeper(3434): System app. Skip license activation
05-20 15:49:48.664: E/SDP.CRYPTO(3434): On Locked OK, id 0
05-20 15:49:48.664: E/SdpManagerService(3434): sendBroadcastAsUser(INTENT_SDP_STATE_CHANGED, state:1)
05-20 15:49:48.694: E/SdpServiceKeeper(3434): isLicensed {pid:25930 uid:10130 userid:0 doPkg:null}
05-20 15:49:48.694: E/SdpServiceKeeper(3434): White listed. Skip license activation
05-20 15:49:48.694: E/SdpStateChangedReceiver(25930): com.sec.enterprise.knox.sdp.exception.SdpEngineNotExistsException
05-20 15:49:48.914: E/BtGatt.GattService(5550): [GSIM LOG]: gsimLogHandler: null, msg: MESSAGE_REPORT_RESULT_4_BATTERY
05-20 15:49:48.924: E/SamsungIME(10638): invoke(): method is null
05-20 15:49:48.924: E/BtGatt.GattService(5550): [GSIM LOG]: gsimLogHandler: com.samsung.android.beaconmanager, msg: MESSAGE_STOP_SCAN
05-20 15:49:49.144: E/BtGatt.GattService(5550): [GSIM LOG]: gsimLogHandler: com.samsung.android.beaconmanager, msg: MESSAGE_START_SCAN
05-20 15:49:49.184: E/BtGatt.ScanManager(5550): default value of curScanSetting 0 is choosen
05-20 15:49:57.604: E/AffinityControl(3931): AffinityControl: registerfunction enter
05-20 15:50:01.724: E/AffinityControl(4413): AffinityControl: registerfunction enter
05-20 15:50:07.474: E/Watchdog(3434): !@Sync 676 [05-20 15:50:07.482]
05-20 15:50:37.474: E/Watchdog(3434): !@Sync 677 [05-20 15:50:37.485]
that's an interesting one, because it is crashing inside of initializing the VrApi. You should have the VrApi.jar and the armeabi-v7a/libvrapi.so. If you didn't have an oculus signature file in the assets/ directory (you do, right?), you would see something on screen complaining about it.
I'm just importing the same folder you provided to me. Thanks though for the reminding of oculus signature- It wasn't in the assets...just added it. The VrApi.jar was also inside your gvrf-exported.jar already, but I still added it to the gvrf-libs folder. STILL I get the same error. I think this time the errors are different- We are making good progress on debugging!
For gvrtestcube:
05-20 19:42:18.164: E/JniUtils(14675): FindClass( com/oculus/systemutils/SystemActivitiesReceiver ) failed
05-20 19:42:18.164: A/libc(14675): Fatal signal 6 (SIGABRT), code -6 in tid 14675 (earvrf.testcube)
and all errors:
05-20 19:42:16.984: E/AffinityControl(14655): AffinityControl: registerfunction enter
05-20 19:42:17.794: E/AffinityControl(14665): AffinityControl: registerfunction enter
05-20 19:42:17.944: E/Sensors(3434): Mag old sensor_state 5, new sensor_state : 1 en : 0
05-20 19:42:17.984: E/Zygote(14675): v2
05-20 19:42:17.984: E/Zygote(14675): accessInfo : 0
05-20 19:42:18.164: E/JniUtils(14675): FindClass( com/oculus/systemutils/SystemActivitiesReceiver ) failed
05-20 19:42:18.164: A/libc(14675): Fatal signal 6 (SIGABRT), code -6 in tid 14675 (earvrf.testcube)
05-20 19:42:18.224: A/DEBUG(3136): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-20 19:42:18.224: A/DEBUG(3136): Build fingerprint: 'samsung/heroltexx/herolte:6.0.1/MMB29K/G930FXXU1APDH:user/release-keys'
05-20 19:42:18.224: A/DEBUG(3136): Revision: '8'
05-20 19:42:18.224: A/DEBUG(3136): ABI: 'arm'
05-20 19:42:18.224: A/DEBUG(3136): pid: 14675, tid: 14675, name: earvrf.testcube >>> org.gearvrf.testcube <<<
05-20 19:42:18.224: A/DEBUG(3136): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-20 19:42:18.234: A/DEBUG(3136): r0 00000000 r1 00003953 r2 00000006 r3 f748bd9c
05-20 19:42:18.234: A/DEBUG(3136): r4 f748bda4 r5 f748bd54 r6 00000002 r7 0000010c
05-20 19:42:18.234: A/DEBUG(3136): r8 f3a30638 r9 70993ba0 sl f3a306b0 fp 12d27280
05-20 19:42:18.234: A/DEBUG(3136): ip 00000006 sp ff8cd498 lr f71e8365 pc f71ea754 cpsr 400f0010
05-20 19:42:18.244: A/DEBUG(3136): backtrace:
05-20 19:42:18.244: A/DEBUG(3136): #00 pc 00042754 /system/lib/libc.so (tgkill+12)
05-20 19:42:18.244: A/DEBUG(3136): #01 pc 00040361 /system/lib/libc.so (pthread_kill+32)
05-20 19:42:18.244: A/DEBUG(3136): #02 pc 0001ca9b /system/lib/libc.so (raise+10)
05-20 19:42:18.244: A/DEBUG(3136): #03 pc 00019d19 /system/lib/libc.so (__libc_android_abort+34)
05-20 19:42:18.244: A/DEBUG(3136): #04 pc 0001755c /system/lib/libc.so (abort+4)
05-20 19:42:18.244: A/DEBUG(3136): #05 pc 000711b8 /data/app/org.gearvrf.testcube-2/lib/arm/libgvrf.so
05-20 19:42:18.244: A/DEBUG(3136): #06 pc 000fc9b4 /data/app/org.gearvrf.testcube-2/lib/arm/libgvrf.so
05-20 19:42:18.244: A/DEBUG(3136): #07 pc 000ed944 /data/app/org.gearvrf.testcube-2/lib/arm/libgvrf.so (SystemActivities_Init+136)
05-20 19:42:18.244: A/DEBUG(3136): #08 pc 000ce4ec /data/app/org.gearvrf.testcube-2/lib/arm/libgvrf.so (_ZN3gvr11GVRActivity15initializeVrApiEv+104)
05-20 19:42:18.244: A/DEBUG(3136): #09 pc 0077d7dd /data/app/org.gearvrf.testcube-2/oat/arm/base.odex (offset 0x42b000) (int org.gearvrf.VrapiActivityHandler.nativeInitializeVrApi(long)+88)
05-20 19:42:18.244: A/DEBUG(3136): #10 pc 0077ce65 /data/app/org.gearvrf.testcube-2/oat/arm/base.odex (offset 0x42b000) (void org.gearvrf.VrapiActivityHandler.<init>(org.gearvrf.GVRActivity, org.gearvrf.ActivityHandlerRenderingCallbacks)+664)
05-20 19:42:18.244: A/DEBUG(3136): #11 pc 0075e8df /data/app/org.gearvrf.testcube-2/oat/arm/base.odex (offset 0x42b000) (void org.gearvrf.GVRActivity.onCreate(android.os.Bundle)+1338)
05-20 19:42:18.244: A/DEBUG(3136): #12 pc 00867549 /data/app/org.gearvrf.testcube-2/oat/arm/base.odex (offset 0x42b000) (void org.gearvrf.testcube.SampleActivity.onCreate(android.os.Bundle)+60)
05-20 19:42:18.244: A/DEBUG(3136): #13 pc 036dbb57 /system/framework/arm/boot.oat (offset 0x2f2a000)
05-20 19:42:18.384: A/DEBUG(3136): Tombstone written to: /data/tombstones/tombstone_08
05-20 19:42:18.384: E/DEBUG(3136): AM write failed: Broken pipe
05-20 19:42:18.384: E/(3136): ro.product_ship = true
05-20 19:42:18.384: E/(3136): ro.debug_level = 0x4f4c
05-20 19:42:18.384: E/(3136): sys.mobilecare.preload = false
05-20 19:42:18.384: E/audit(5557): type=1701 msg=audit(1463798538.384:416): auid=4294967295 uid=10192 gid=10192 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=14675 comm="earvrf.testcube" exe="/system/bin/app_process32" sig=6
05-20 19:42:18.394: E/SharedPreferencesImpl(3434): Couldn't create directory for SharedPreferences file /data/user/0/android/shared_prefs/log_files.xml
05-20 19:42:18.404: E/android.os.Debug(3434): ro.product_ship = true
05-20 19:42:18.404: E/android.os.Debug(3434): ro.debug_level = 0x4f4c
05-20 19:42:18.404: E/android.os.Debug(3434): sys.mobilecare.preload = false
05-20 19:42:18.524: E/InputDispatcher(3434): channel ~ Channel is unrecoverably broken and will be disposed!
05-20 19:42:21.664: E/Zygote(14710): v2
05-20 19:42:21.664: E/Zygote(14710): accessInfo : 0
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
05-20 19:42:22.084: E/SensorService(3434): getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
05-20 19:42:22.374: E/Unity(14710): Unable to find OculusInitPlugin
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
05-20 19:42:22.534: E/SensorService(3434): getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
05-20 19:42:23.084: E/Unity(14710): Unable to find OVRPlugin
05-20 19:42:23.094: E/Unity(14710): Unable to find OVRPlugin
05-20 19:42:24.024: E/Unity(14710): Unable to find OVRPlugin
05-20 19:42:24.514: E/Sensors(3434): Mag old sensor_state 1, new sensor_state : 5 en : 1
05-20 19:42:25.394: E/Watchdog(3434): !@Sync 1140 [05-20 19:42:25.398]
05-20 19:42:26.824: E/Unity(14710): Oculus Home: Localization Key not found home_tutorial_name
05-20 19:42:26.824: E/Unity(14710):
05-20 19:42:26.824: E/Unity(14710): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
05-20 19:42:32.114: E/SPPClientService(6591): [[ConnectionState]] [Abnormal State]
05-20 19:42:32.114: E/SPPClientService(6591): [[PushClientService]] AlarmTimer activate SPP service
05-20 19:42:32.114: E/SPPClientService(6591): [[PushClientService]] F:false, D:false, E:false, T:false, S:false, R:false
05-20 19:42:36.354: E/BtGatt.GattService(5550): [GSIM LOG]: gsimLogHandler: null, msg: MESSAGE_REPORT_RESULT_4_BATTERY
05-20 19:42:55.394: E/Watchdog(3434): !@Sync 1141 [05-20 19:42:55.399]
crashing inside the SystemActivities init. you have the SystemActivities.jar in your libs/ directory, right?
There was no such .jar file anywhere! Do you mean SystemUtils.jar?
Sorry, yes. That's what i meant.
That was already there. Do you know how we can fix the problem?
Sent from my phone. Pls excuse typos and brevity. On May 20, 2016 8:46 PM, "thomasflynn" notifications@github.com wrote:
Sorry, yes. That's what i meant.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/569#issuecomment-220756560
i built with the eclipse i have at home, verses the one i have at work and now I have the same error as you. investigating...
Interesting. My eclipse is the latest version Mars 2. Looking forward...
On Sat, May 21, 2016 at 7:21 PM, thomasflynn notifications@github.com wrote:
i built with the eclipse i have at home, verses the one i have at work and now I have the same error as you. investigating...
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/569#issuecomment-220810649
Cheers,
ok, i'm going to have to have someone more savvy than me figure out why the pre-built libs are having problems on Monday. I even built the framework via Eclipse and copied over the necessary libs and then Android was looking for a 64bit version of libgvrf.so. Weird (we only have 32 bit versions of the libs since Oculus only ships 32bit version of their libs).
what did work was building the Framework via Eclipse and linking the gvtestcube project to it (rather than copying libs over). so, i'm going to have to recommend that for now. I've updated my branch. re-import the project. git clone https://github.com/Samsung/GearVRf.git and follow the build instructions we have for building the Framework via Eclipse. Then you should be able to build and run the testcube project. sorry for the hassle.
OK. I'm trying to link the project as opposed to copying libs over, but I get same "app closed unexpectedly" error. Is it just these simple steps? gvrtestcube project-->properties-->built-path-->Projects tab-->add project and adding Framework (where all sources of GVRf are located) I removed the prebuilt libraries and their folder in my the gvrtestcube project so to make sure they are being used. Anyways...still it doesn't run
Here is the logcat:
05-23 11:31:36.905: E/AndroidRuntime(24177): FATAL EXCEPTION: main
05-23 11:31:36.905: E/AndroidRuntime(24177): Process: org.gearvrf.testcube, PID: 24177
05-23 11:31:36.905: E/AndroidRuntime(24177): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.gearvrf.testcube/org.gearvrf.testcube.SampleActivity}: java.lang.ClassNotFoundException: Didn't find class "org.gearvrf.testcube.SampleActivity" on path: DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm64, /vendor/lib64, /system/lib64]]
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.ActivityThread.access$1100(ActivityThread.java:222)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.os.Handler.dispatchMessage(Handler.java:102)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.os.Looper.loop(Looper.java:158)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.ActivityThread.main(ActivityThread.java:7229)
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.reflect.Method.invoke(Native Method)
05-23 11:31:36.905: E/AndroidRuntime(24177): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
05-23 11:31:36.905: E/AndroidRuntime(24177): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
05-23 11:31:36.905: E/AndroidRuntime(24177): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.gearvrf.testcube.SampleActivity" on path: DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm64, /vendor/lib64, /system/lib64]]
05-23 11:31:36.905: E/AndroidRuntime(24177): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.Instrumentation.newActivity(Instrumentation.java:1095)
05-23 11:31:36.905: E/AndroidRuntime(24177): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3084)
05-23 11:31:36.905: E/AndroidRuntime(24177): ... 9 more
05-23 11:31:36.905: E/AndroidRuntime(24177): Suppressed: java.lang.NoClassDefFoundError: org.gearvrf.testcube.SampleActivity
05-23 11:31:36.905: E/AndroidRuntime(24177): at dalvik.system.DexFile.defineClassNative(Native Method)
05-23 11:31:36.905: E/AndroidRuntime(24177): at dalvik.system.DexFile.defineClass(DexFile.java:226)
05-23 11:31:36.905: E/AndroidRuntime(24177): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
05-23 11:31:36.905: E/AndroidRuntime(24177): at dalvik.system.DexPathList.findClass(DexPathList.java:338)
05-23 11:31:36.905: E/AndroidRuntime(24177): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
05-23 11:31:36.905: E/AndroidRuntime(24177): ... 13 more
05-23 11:31:36.905: E/AndroidRuntime(24177): Suppressed: java.lang.ClassNotFoundException: org.gearvrf.testcube.SampleActivity
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.Class.classForName(Native Method)
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
05-23 11:31:36.905: E/AndroidRuntime(24177): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
05-23 11:31:36.905: E/AndroidRuntime(24177): ... 12 more
05-23 11:31:36.905: E/AndroidRuntime(24177): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
Can you build video-staticlib sample instead of your app? https://github.com/gearvrf/GearVRf-Demos/tree/master/gvr-video-staticlib
Just follow the steps from 1) - 3) in README.txt if you are using Eclipse. Please use libs-gvrf.zip: https://github.com/Samsung/GearVRf/releases/tag/3.0. And, prebuilt vrlib from https://developer.oculus.com/downloads/mobile/1.0.0.1/Oculus_Mobile_SDK/. This should be very simple and should work if steps are followed precisely. If successful, you can apply the same to your app. If not, we need more investigation.
Interesting! This one works! Finally I got something! :) This might not be a good one to pick for playing around due to its huge size though!
Right it has a big media file in it. Please let us know if you need further assistance.
Tnx. Now if I want to change the native C/C++ codes, what is the process? Shall I recompile GVRf again? That was giving me a Framework.jar as far as I remember.
if you change the C/C++ code under the GVRf/Framework/framework/src/main/jni/ then yes, you need to compile GVRf. go ahead and open a new issue if you have trouble with doing that. thanks.
build.gradle dependencies { //add new .jar file. }
When i run gvrtextviewsample app from GVRF-Demos i got the following error-
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "vrapi_ShowSystemUI" referenced by "/data/app/org.gearvrf.gvrtextviewsample-1/lib/arm/libgvrf-oculus.so".
Anybody knows how to resolve it?
@mayank1111 Hi. Make sure you remove all the intermediate build files and directories (git clean -fdx) and rebuild. You must have a leftover libvrapi.so from the 1.0.3 Oculus SDK somewhere.
I've followed all steps in the getting started section of GVRf (http://wiki.gearvrf.org/bin/view/GearVRfDeveloperGuide/GearVRfDevGuide200Start). After building the code, it gives me a framework.jar file which actually is the main jar file I just add into my http://wiki.gearvrf.org/bin/view/GearVRfDeveloperGuide/GearVRfDevGuide200Start app. It contains all necessary .jar files, and removes all the raw errors when added to the project. I also took a Oculus signature file and added it both to the Assets of GVRf code (before building framework.jar), and Assets folder of my GVRf app. Just to start, I'm actually trying to run the grvtestcube demo already prepared in the demos. But when trying to run, it shows the popular message "App.. closed unexpectedly" error. What is the problem? I'm using the Galaxy S7 and my Android SDK is 23, so I updated the manifest to target 23 instead of pre-entered 19. I don't know where the problem is coming from?!