Comments (2)
Project "java_floor_plan_example" crashes when saving ADF with the following:
E/tango_client_api: TangoErrorType TangoService_saveAreaDescription(char (*)[37]): Internal Error: Could not save an area description. Is learning mode enabled?
A/art: art/runtime/check_jni.cc:64] JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xb4
A/art: art/runtime/check_jni.cc:64] string: ' ͏dp��d�'
A/art: art/runtime/check_jni.cc:64] in call to NewStringUTF
A/art: art/runtime/check_jni.cc:64] from int com.google.atap.tango.TangoJNINative.SaveAreaDescription(java.lang.String[])
A/art: art/runtime/check_jni.cc:64] "AsyncTask #1" prio=5 tid=19 Runnable
The project is unmodified so it has learning mode enabled, the correct load/save permissions etc.
First experienced this with my own project and been debugging this the whole day without much progress. Finally found out that the problem exists in the sample project as well so I'm posting this here.
It would seem that the encoding between Java and the C/C++ JNI of Tango lib is getting jumbled up. Check this: http://stackoverflow.com/questions/12127817/android-ics-4-0-ndk-newstringutf-is-crashing-down-the-app
I am completely lost as to how proceed..
from tango-examples-java.
Seems to be the error if permission for ADF File Load is not granted. So if permission is granted error does not occur.
from tango-examples-java.
Related Issues (20)
- java.lang.UnsatisfiedLinkError: No implementation found for int com.google.atap.tango.TangoJNINative.Initialize(android.content.Context) (tried Java_com_google_atap_tango_TangoJNINative_Initialize and Java_com_google_atap_tango_TangoJNINative_Initialize__Landroid_content_Context_2) HOT 1
- AugmentedRealityActivity: Can't get device pose at time...
- strange question(Callbacks are not called)
- mTango.experimentalConnectOnFrameListener HOT 1
- Can't run the Java floorplan reconstruction example on the Tango Dev Kit
- Tango Support Library transformPointCloud Error HOT 1
- Cannot Import necessary libraries to access TangoData HOT 2
- Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] HOT 5
- Unable to get method ref for onPointCloudAvailable HOT 2
- frequent SIGSEGV crashes when adding OnFrameAvailableListener to example application
- Master Project build.gradle?
- Tango Core crashes HOT 2
- JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xb4 HOT 5
- Error when trying to export ADF File HOT 2
- onXyzIjAvailable() callback error HOT 2
- com.google.atap.tangoservice.TangoOutOfDateException HOT 6
- Area description: relocalization status is set to true directly HOT 3
- Android Device display Tango Service outdated
- Export ADF file doesn't work - Unity-Tango SDK "AreaDescriptionManagement" example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tango-examples-java.