Android related questions

General information about Neurotechnology and its software

Issues with SDK 5.1 on Android

Postby Freddy » Apr 15, 2015 14:01

I made an Android App of Face Detection with SDK 5.0. After capturing camera image the app draws circles on eyes and mouth center and nose tip and after shows the images and text fields with all the attributes and confidence, included expression and emotions, and it works fine.
I update the app with new SDK 5.1 just recompiling it, without any changes, but:
- mouth center and nose tip coordinate are always zero with confidence -2
- all attribute confidences are -2
- expression and all emotions confidences are -2

Anybody knows if some settings are changed in new SDK or there are some other things to do in order to have correct values of that features.

Thank you,
Freddy

Admin: merged to "Android related questions"
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Re: Issues with SDK 5.1 on Android

Postby Martynas » Apr 16, 2015 07:03

Freddy wrote:I made an Android App of Face Detection with SDK 5.0. After capturing camera image the app draws circles on eyes and mouth center and nose tip and after shows the images and text fields with all the attributes and confidence, included expression and emotions, and it works fine.
I update the app with new SDK 5.1 just recompiling it, without any changes, but:
- mouth center and nose tip coordinate are always zero with confidence -2
- all attribute confidences are -2
- expression and all emotions confidences are -2

Anybody knows if some settings are changed in new SDK or there are some other things to do in order to have correct values of that features.

Thank you,
Freddy

Hi,

separate data files for face details detection and finger details detection were introduced in 5.1. Check if in your device sd_card\Neurotechnology\Data\<your_apk_name>\Faces.ndf file exists. If there isn't that file, then upload from SDK_Folder\Bin\Data folder.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Issues with SDK 5.1 on Android

Postby Freddy » Apr 16, 2015 09:48

Martynas wrote:Hi,

separate data files for face details detection and finger details detection were introduced in 5.1. Check if in your device sd_card\Neurotechnology\Data\<your_apk_name>\Faces.ndf file exists. If there isn't that file, then upload from SDK_Folder\Bin\Data folder.

Hi Martynas,

I can't find the directory you indicate. The only 2 similar directories I found are:
- local_storage\Neurotechnology\Licenses
- ext_storage\Android\data\<my_apk_name>
I've tried to put Faces.ndf in such dirs but the results are the same.

I'm using a Samsung S5 with Android 5.0.0

Thank You,
Freddy
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Re: Issues with SDK 5.1 on Android

Postby Martynas » Apr 16, 2015 10:00

Freddy wrote:Hi Martynas,

I can't find the directory you indicate. The only 2 similar directories I found are:
- local_storage\Neurotechnology\Licenses
- ext_storage\Android\data\<my_apk_name>
I've tried to put Faces.ndf in such dirs but the results are the same.

I'm using a Samsung S5 with Android 5.0.0

Thank You,
Freddy

Hi,

create the folder " local_storage\Neurotechnology\Data\<my_apk_name> folder. Copy the Faces.ndf file from the downloaded SDK "Bin\Data" folder to it.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Issues with SDK 5.1 on Android

Postby Freddy » Apr 16, 2015 14:12

Martynas wrote:Hi,

create the folder " local_storage\Neurotechnology\Data\<my_apk_name> folder. Copy the Faces.ndf file from the downloaded SDK "Bin\Data" folder to it.

Martynas,

it doesn't work. I tryed bot ...\Data\FaceID and ...\Data\it.apps.freddy.faceid.

I added to apps the row myTextView.Text = getApplicationInfo().dataDir, the instruction return /data/data/it.apps.freddy.faceid

Have you other suggestions ?


Thank You,
Freddy
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Re: Issues with SDK 5.1 on Android

Postby Martynas » Apr 20, 2015 06:36

Freddy wrote:Martynas,

it doesn't work. I tryed bot ...\Data\FaceID and ...\Data\it.apps.freddy.faceid.

I added to apps the row myTextView.Text = getApplicationInfo().dataDir, the instruction return /data/data/it.apps.freddy.faceid

Have you other suggestions ?


Thank You,
Freddy

Hi,

could you try the same when our provided sample apk is used?
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Issues with SDK 5.1 on Android

Postby Freddy » Apr 20, 2015 08:58

Martynas wrote:Hi,

could you try the same when our provided sample apk is used?

I installed multibiometric-sample. It creates in the directory localstorage/Neurotechnology/Data, where is my app dir, the directory "multibiometric", with a mess of subdirs.
After first run I obtained the message "Faces feature points detector is missing", the I copied the file Faces.ndf in such dir and the apps worked fine.

So we are in same situation with the only difference that I create app dir because my app doesn't do that automatically.
I saw from you app source the package name "com.neurotec.samples.multibiometric", then the app directory name is the last part of package name. Same situation is for my app, the package name is "it.apps.freddy.faceid" and the dir name is "faceid", but it doesn't work (it detects only face and eyes).

Can I do some other tests ?

Thank you,
Freddy
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Re: Issues with SDK 5.1 on Android

Postby Martynas » Apr 20, 2015 12:47

Freddy wrote:I installed multibiometric-sample. It creates in the directory localstorage/Neurotechnology/Data, where is my app dir, the directory "multibiometric", with a mess of subdirs.
After first run I obtained the message "Faces feature points detector is missing", the I copied the file Faces.ndf in such dir and the apps worked fine.

So we are in same situation with the only difference that I create app dir because my app doesn't do that automatically.
I saw from you app source the package name "com.neurotec.samples.multibiometric", then the app directory name is the last part of package name. Same situation is for my app, the package name is "it.apps.freddy.faceid" and the dir name is "faceid", but it doesn't work (it detects only face and eyes).

Can I do some other tests ?

Thank you,
Freddy

Hi,

In order to register NData files, please follow this steps:
- Copy files to SD card. We advise to use /mnt/sdcard/Neurotechnology/Data directory, however you can use other path if you like.
- Call NDataFileManager.getInstance().addFromDirectory(path-to-folder, false) at the very beginning of your application. Make sure this code is executed before any biometric operation.
- You can check if NData files were loaded properly by calling NDataFileManager.getInstance().getAllFiles(). The method must return non empty array of loaded NData files.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Issues with SDK 5.1 on Android

Postby Freddy » Apr 20, 2015 18:02

Martynas wrote:Hi,

In order to register NData files, please follow this steps:
- Copy files to SD card. We advise to use /mnt/sdcard/Neurotechnology/Data directory, however you can use other path if you like.
- Call NDataFileManager.getInstance().addFromDirectory(path-to-folder, false) at the very beginning of your application. Make sure this code is executed before any biometric operation.
- You can check if NData files were loaded properly by calling NDataFileManager.getInstance().getAllFiles(). The method must return non empty array of loaded NData files.

Hi,

I got the message Cannot resolve symbol 'NDataFileManager'


Thank You,
Freddy
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Re: Issues with SDK 5.1 on Android

Postby Martynas » Apr 21, 2015 08:22

Freddy wrote:Hi,

I got the message Cannot resolve symbol 'NDataFileManager'


Thank You,
Freddy

Hello,

if you are receiving this error then you are missing or using old version of the libNCore.so.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Issues with SDK 5.1 on Android

Postby Freddy » Apr 22, 2015 05:33

Martynas wrote:Hello,

if you are receiving this error then you are missing or using old version of the libNCore.so.

I can assure you I'm using last version of libNCore.so. I scanned that file finding NDataFileManager entry not present in the previous version.

Mybe something is wrong in Maven project file or in the release structure because it is able to find all other dependencies, as you can see from attached image


Best Regards,
Freddy
Attachments
Cattura.PNG
(27.31 KiB) Not downloaded yet
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Re: Issues with SDK 5.1 on Android

Postby Martynas » Apr 22, 2015 06:54

Freddy wrote:I can assure you I'm using last version of libNCore.so. I scanned that file finding NDataFileManager entry not present in the previous version.

Mybe something is wrong in Maven project file or in the release structure because it is able to find all other dependencies, as you can see from attached image


Best Regards,
Freddy

Hi,

NDataFileManager class definition is in neurotec-core.jar of 5.1 SDK. As you wrote in one of your previous posts our provided sample is running without problems. There still could be an issue if you are using different libraries from different versions of the SDK. Have you run the "mvn clean install" with new version of he SDK? Maybe the maven repository has old jars?
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Issues with SDK 5.1 on Android

Postby Freddy » Apr 24, 2015 13:06

Martynas wrote:Hi,

NDataFileManager class definition is in neurotec-core.jar of 5.1 SDK. As you wrote in one of your previous posts our provided sample is running without problems. There still could be an issue if you are using different libraries from different versions of the SDK. Have you run the "mvn clean install" with new version of he SDK? Maybe the maven repository has old jars?

Martynas,

you are right, I forgot to update jar files references. Now my app is working fine.


Thank you for your support,
Freddy
User avatar
Freddy
 
Posts: 9
Joined: Oct 01, 2014 14:51
Location: Rome, Italy

Client/server solution

Postby veralimita » Dec 25, 2015 15:27

I have a question. Can I make based on VeriFinger SDK client initially make -server application where the client part will run on Android? I mean on one device are registered fingerprints and sent to the server and then passes to the other devices in the user authentication system.

Admin: merged to "Android related questions"
veralimita
 
Posts: 1
Joined: Dec 25, 2015 15:15

verify from client app

Postby learner4 » Dec 26, 2015 21:11

how do I extract template from android/ iOS device and verify?
is there an example program?
Thanks in advance for your help!

Admin: merged to "Android related questions"
learner4
 
Posts: 21
Joined: Dec 07, 2015 15:30

Re: verify from client app

Postby MartynasV » Dec 28, 2015 10:59

learner4 wrote:how do I extract template from android/ iOS device and verify?
is there an example program?
Thanks in advance for your help!

Hello,

SDK\Tutorials\Biometrics\Android\biometrics-tutorials-android
SDK\Samples\Biometrics\iOS
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Client/server solution

Postby MartynasV » Dec 28, 2015 14:02

veralimita wrote:I have a question. Can I make based on VeriFinger SDK client initially make -server application where the client part will run on Android? I mean on one device are registered fingerprints and sent to the server and then passes to the other devices in the user authentication system.

Hello,

Yes, our SDK supports Android, so you can make client application(using our SDK) on Android.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: embedded version [Android]

Postby sultan0805099 » Jun 13, 2016 09:24

I am running face-verification-sample project . But the following error has occurred .

The import com.neurotec.face.verification.view cannot be resolved
The import com.neurotec.lang.NCore cannot be resolved
The import com.neurotec.samples.faceverification.gui cannot be resolved
The import com.neurotec.samples.faceverification.utils cannot be resolved

in this piece of code :

Code: Select all
import com.neurotec.face.verification.view.NFaceVerificationView;
import com.neurotec.lang.NCore;
import com.neurotec.samples.faceverification.gui.EnrollmentDialogFragment;
import com.neurotec.samples.faceverification.gui.SettingsActivity;
import com.neurotec.samples.faceverification.gui.SettingsFragment;
import com.neurotec.samples.faceverification.gui.UserListFragment;
import com.neurotec.samples.faceverification.gui.EnrollmentDialogFragment.EnrollmentDialogListener;
import com.neurotec.samples.faceverification.gui.UserListFragment.UserSelectionListener;
import com.neurotec.samples.faceverification.utils.BaseActivity;


How can I solve this error ?
sultan0805099
 
Posts: 17
Joined: Jun 13, 2016 08:52

Re: Android related questions

Postby Martynas » Jun 14, 2016 08:51

Hi,

as you wrote by email you are using Eclipse for your project.

Please run these steps:

1. Execute “mvn clean install” command in “Samples\Biometrics\Android” folder
2. Start Eclipse
3. Import project
4. Select Maven -> Existing Maven project
5. Browse for the face-verification-sample folder
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Android related questions

Postby jts » Jun 14, 2016 14:50

Martynas wrote:Hi,

as you wrote by email you are using Eclipse for your project.

Please run these steps:

1. Execute “mvn clean install” command in “SamplesBiometricsAndroid” folder
2. Start Eclipse
3. Import project
4. Select Maven -> Existing Maven project
5. Browse for the face-verification-sample folder


Thanks I"ve the same issue :)
jts
 
Posts: 1
Joined: Jun 14, 2016 14:40

java.lang.ExceptionInInitializerError in Android

Postby sultan0805099 » Jun 16, 2016 06:21

I am running face-verification-sample project given with Neurotec_Biometric_9_0_SDK_Trial sdk . But when I try to run my app on my device (using Eclipse), I have this result in my logcat:

Code: Select all

06-16 13:33:06.773: E/AndroidRuntime(1723): FATAL EXCEPTION: main
06-16 13:33:06.773: E/AndroidRuntime(1723): Process: com.neurotec.samples.faceverification, PID: 1723
06-16 13:33:06.773: E/AndroidRuntime(1723): java.lang.ExceptionInInitializerError
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.view.NGui.<clinit>(NGui.java:56)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.view.NViewBase.<clinit>(NViewBase.java:30)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Constructor.constructNative(Native Method)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.createView(LayoutInflater.java:594)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:341)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.Activity.setContentView(Activity.java:1975)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.samples.faceverification.FaceVerificationApplication.onCreate(FaceVerificationApplication.java:46)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.Activity.performCreate(Activity.java:5370)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2331)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2422)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.access$800(ActivityThread.java:151)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.os.Handler.dispatchMessage(Handler.java:110)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.os.Looper.loop(Looper.java:193)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.main(ActivityThread.java:5330)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Method.invokeNative(Native Method)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Method.invoke(Method.java:515)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at dalvik.system.NativeStart.main(Native Method)
06-16 13:33:06.773: E/AndroidRuntime(1723): Caused by: java.lang.ExceptionInInitializerError
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:49)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.view.NGui.<clinit>(NGui.java:47)
06-16 13:33:06.773: E/AndroidRuntime(1723):    ... 26 more
06-16 13:33:06.773: E/AndroidRuntime(1723): Caused by: java.lang.ExceptionInInitializerError
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.lang.NCore.<clinit>(NCore.java:140)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.lang.NTypes.<clinit>(NTypes.java:171)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:46)
06-16 13:33:06.773: E/AndroidRuntime(1723):    ... 27 more
06-16 13:33:06.773: E/AndroidRuntime(1723): Caused by: java.lang.NoClassDefFoundError: com.sun.jna.Platform
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.lang.NCore.<clinit>(NCore.java:123)
06-16 13:33:06.773: E/AndroidRuntime(1723):    ... 29 more


How can I solve this error ? Any advice is of great help .

Admin: merged to "Android related questions"
sultan0805099
 
Posts: 17
Joined: Jun 13, 2016 08:52

Re: Android related questions

Postby vaidasz » Jun 16, 2016 07:50

jts wrote:
Martynas wrote:Hi,

as you wrote by email you are using Eclipse for your project.

Please run these steps:

1. Execute “mvn clean install” command in “SamplesBiometricsAndroid” folder
2. Start Eclipse
3. Import project
4. Select Maven -> Existing Maven project
5. Browse for the face-verification-sample folder


Thanks I"ve the same issue :)


Hello,

Have you followed the steps? Do you get the same issue after following the steps?
Vaidas Z
Neurotechnology
vaidasz
Neurotechnology
 
Posts: 559
Joined: Apr 30, 2010 06:57
Location: Vilnius, Lithuania

Re: java.lang.ExceptionInInitializerError in Android

Postby MartynasV » Jun 17, 2016 14:44

sultan0805099 wrote:I am running face-verification-sample project given with Neurotec_Biometric_9_0_SDK_Trial sdk . But when I try to run my app on my device (using Eclipse), I have this result in my logcat:

Code: Select all

06-16 13:33:06.773: E/AndroidRuntime(1723): FATAL EXCEPTION: main
06-16 13:33:06.773: E/AndroidRuntime(1723): Process: com.neurotec.samples.faceverification, PID: 1723
06-16 13:33:06.773: E/AndroidRuntime(1723): java.lang.ExceptionInInitializerError
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.view.NGui.<clinit>(NGui.java:56)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.view.NViewBase.<clinit>(NViewBase.java:30)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Constructor.constructNative(Native Method)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.createView(LayoutInflater.java:594)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:341)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.Activity.setContentView(Activity.java:1975)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.samples.faceverification.FaceVerificationApplication.onCreate(FaceVerificationApplication.java:46)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.Activity.performCreate(Activity.java:5370)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2331)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2422)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.access$800(ActivityThread.java:151)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.os.Handler.dispatchMessage(Handler.java:110)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.os.Looper.loop(Looper.java:193)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at android.app.ActivityThread.main(ActivityThread.java:5330)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Method.invokeNative(Native Method)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at java.lang.reflect.Method.invoke(Method.java:515)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at dalvik.system.NativeStart.main(Native Method)
06-16 13:33:06.773: E/AndroidRuntime(1723): Caused by: java.lang.ExceptionInInitializerError
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:49)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.view.NGui.<clinit>(NGui.java:47)
06-16 13:33:06.773: E/AndroidRuntime(1723):    ... 26 more
06-16 13:33:06.773: E/AndroidRuntime(1723): Caused by: java.lang.ExceptionInInitializerError
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.lang.NCore.<clinit>(NCore.java:140)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.lang.NTypes.<clinit>(NTypes.java:171)
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:46)
06-16 13:33:06.773: E/AndroidRuntime(1723):    ... 27 more
06-16 13:33:06.773: E/AndroidRuntime(1723): Caused by: java.lang.NoClassDefFoundError: com.sun.jna.Platform
06-16 13:33:06.773: E/AndroidRuntime(1723):    at com.neurotec.lang.NCore.<clinit>(NCore.java:123)
06-16 13:33:06.773: E/AndroidRuntime(1723):    ... 29 more


How can I solve this error ? Any advice is of great help .

Hello,

It seams that it doesn't find Android native libraries("SDK\Lib\Android") and "SDK\Bin\Android\jna.jar"

You can easily import Maven projects to eclipse, just follow instructions:
1. File > Import...
2. In Import window: select "Existing Maven Projects" > Next > Browse and select "SDK\Samples\FaceVerification\Android\face-verification-sample" directory, in Projects box new project should have appeared, check it > Finish.
3. Wait until all files are imported.
4. Now you should be able to build and run project: Run > Run As > Android Application.

If you still unable to run(if you get initialization or class not found errors), read following:
In Eclipse, in Package Explorer window, in project "libs" directory put "SDK\Lib\Android\armeabi-v7a" directory with Android native library files(do this if those files do not exists already in project) and from "SDK/Bin/Android" put all jar files to the same libs folder. Then go to the project's Properties > Java Build Path > Order and Export and here check "Android Private Libraries"(should be checked), now run project as "Android Application".
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: java.lang.ExceptionInInitializerError in Android

Postby sultan0805099 » Jun 17, 2016 15:24

MartynasV wrote:Hello,

It seams that it doesn't find Android native libraries("SDK\Lib\Android") and "SDK\Bin\Android\jna.jar"

You can easily import Maven projects to eclipse, just follow instructions:
1. File > Import...
2. In Import window: select "Existing Maven Projects" > Next > Browse and select "SDK\Samples\FaceVerification\Android\face-verification-sample" directory, in Projects box new project should have appeared, check it > Finish.
3. Wait until all files are imported.
4. Now you should be able to build and run project: Run > Run As > Android Application.

If you still unable to run(if you get initialization or class not found errors), read following:
In Eclipse, in Package Explorer window, in project "libs" directory put "SDK\Lib\Android\armeabi-v7a" directory with Android native library files(do this if those files do not exists already in project) and from "SDK/Bin/Android" put all jar files to the same libs folder. Then go to the project's Properties > Java Build Path > Order and Export and here check "Android Private Libraries"(should be checked), now run project as "Android Application".

I want to run it without maven projects . I want to run it just simply like an android project . What can I do this for that ?
sultan0805099
 
Posts: 17
Joined: Jun 13, 2016 08:52

Re: java.lang.ExceptionInInitializerError in Android

Postby MartynasV » Jun 17, 2016 15:29

sultan0805099 wrote:I want to run it without maven projects . I want to run it just simply like an android project . What can I do this for that ?

Hello Sultan,

Create "libs" folder in your project and in Eclipse, in Package Explorer window, in project "libs" directory put "SDK\Lib\Android\armeabi-v7a" directory with Android native library files(do this if those files do not exists already in project) and from "SDK/Bin/Android" put all jar files to the same libs folder. Then go to the project's Properties > Java Build Path > Order and Export and here check "Android Private Libraries"(should be checked), now run project as "Android Application".
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: java.lang.ExceptionInInitializerError in Android

Postby sultan0805099 » Jun 19, 2016 03:37

MartynasV wrote:Hello Sultan,

Create "libs" folder in your project and in Eclipse, in Package Explorer window, in project "libs" directory put "SDK\Lib\Android\armeabi-v7a" directory with Android native library files(do this if those files do not exists already in project) and from "SDK/Bin/Android" put all jar files to the same libs folder. Then go to the project's Properties > Java Build Path > Order and Export and here check "Android Private Libraries"(should be checked), now run project as "Android Application".

I have imported "SDK\Lib\Android\armeabi-v7a" and all jar file from "SDK/Bin/Android" . Then I have run my project . But still it gets the following error .

Code: Select all
06-19 09:35:12.405: E/AndroidRuntime(27096): FATAL EXCEPTION: main
06-19 09:35:12.405: E/AndroidRuntime(27096): Process: com.neurotec.samples.faceverification, PID: 27096
06-19 09:35:12.405: E/AndroidRuntime(27096): java.lang.ExceptionInInitializerError
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NGui.<clinit>(NGui.java:56)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NGui.init(NGui.java:66)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NViewBase.<clinit>(NViewBase.java:30)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Constructor.newInstance(Native Method)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.createView(LayoutInflater.java:607)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:425)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.Activity.setContentView(Activity.java:2175)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.samples.faceverification.FaceVerificationApplication.onCreate(FaceVerificationApplication.java:46)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.Activity.performCreate(Activity.java:6092)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2514)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2641)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.access$800(ActivityThread.java:182)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1515)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.os.Handler.dispatchMessage(Handler.java:111)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.os.Looper.loop(Looper.java:194)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.main(ActivityThread.java:5717)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Method.invoke(Native Method)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Method.invoke(Method.java:372)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.ExceptionInInitializerError
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:49)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NGui.<clinit>(NGui.java:47)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 26 more
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.ExceptionInInitializerError
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.lang.NCore.<clinit>(NCore.java:140)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.lang.NTypes.<clinit>(NTypes.java:171)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:46)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 27 more
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/sun/jna/Platform;
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.lang.NCore.<clinit>(NCore.java:123)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 29 more
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sun.jna.Platform" on path: DexPathList[[zip file "/mnt/asec/com.neurotec.samples.faceverification-1/base.apk"],nativeLibraryDirectories=[/mnt/asec/com.neurotec.samples.faceverification-1/lib/arm, /vendor/lib, /system/lib]]
06-19 09:35:12.405: E/AndroidRuntime(27096):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 30 more
06-19 09:35:12.405: E/AndroidRuntime(27096):    Suppressed: java.lang.ClassNotFoundException: com.sun.jna.Platform
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.Class.classForName(Native Method)
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
06-19 09:35:12.405: E/AndroidRuntime(27096):       ... 31 more
06-19 09:35:12.405: E/AndroidRuntime(27096):    Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available



How can I solve this exception ? Please help me .
sultan0805099
 
Posts: 17
Joined: Jun 13, 2016 08:52

Re: java.lang.ExceptionInInitializerError in Android

Postby MartynasV » Jun 20, 2016 11:47

sultan0805099 wrote:I have imported "SDK\Lib\Android\armeabi-v7a" and all jar file from "SDK/Bin/Android" . Then I have run my project . But still it gets the following error .

Code: Select all
06-19 09:35:12.405: E/AndroidRuntime(27096): FATAL EXCEPTION: main
06-19 09:35:12.405: E/AndroidRuntime(27096): Process: com.neurotec.samples.faceverification, PID: 27096
06-19 09:35:12.405: E/AndroidRuntime(27096): java.lang.ExceptionInInitializerError
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NGui.<clinit>(NGui.java:56)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NGui.init(NGui.java:66)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NViewBase.<clinit>(NViewBase.java:30)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Constructor.newInstance(Native Method)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.createView(LayoutInflater.java:607)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:425)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.Activity.setContentView(Activity.java:2175)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.samples.faceverification.FaceVerificationApplication.onCreate(FaceVerificationApplication.java:46)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.Activity.performCreate(Activity.java:6092)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2514)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2641)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.access$800(ActivityThread.java:182)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1515)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.os.Handler.dispatchMessage(Handler.java:111)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.os.Looper.loop(Looper.java:194)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at android.app.ActivityThread.main(ActivityThread.java:5717)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Method.invoke(Native Method)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.reflect.Method.invoke(Method.java:372)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.ExceptionInInitializerError
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:49)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.view.NGui.<clinit>(NGui.java:47)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 26 more
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.ExceptionInInitializerError
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.lang.NCore.<clinit>(NCore.java:140)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.lang.NTypes.<clinit>(NTypes.java:171)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.media.NMedia.<clinit>(NMedia.java:46)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 27 more
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/sun/jna/Platform;
06-19 09:35:12.405: E/AndroidRuntime(27096):    at com.neurotec.lang.NCore.<clinit>(NCore.java:123)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 29 more
06-19 09:35:12.405: E/AndroidRuntime(27096): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sun.jna.Platform" on path: DexPathList[[zip file "/mnt/asec/com.neurotec.samples.faceverification-1/base.apk"],nativeLibraryDirectories=[/mnt/asec/com.neurotec.samples.faceverification-1/lib/arm, /vendor/lib, /system/lib]]
06-19 09:35:12.405: E/AndroidRuntime(27096):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
06-19 09:35:12.405: E/AndroidRuntime(27096):    at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
06-19 09:35:12.405: E/AndroidRuntime(27096):    ... 30 more
06-19 09:35:12.405: E/AndroidRuntime(27096):    Suppressed: java.lang.ClassNotFoundException: com.sun.jna.Platform
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.Class.classForName(Native Method)
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
06-19 09:35:12.405: E/AndroidRuntime(27096):       at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
06-19 09:35:12.405: E/AndroidRuntime(27096):       ... 31 more
06-19 09:35:12.405: E/AndroidRuntime(27096):    Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available



How can I solve this exception ? Please help me .

Hello,

You have to use jna.jar from "SDK/Bin/Android" folder(from our SDK), if you get errors about native libraries in jna.jar, then in Eclipse go to Preferences > Android > Build > uncheck "Force error when external jars contain native libraries".
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Android related questions

Postby yornel13 » Aug 14, 2016 17:27

Hi, I have same error when i run app, but im using Neurotec_Biometric_9_0_SDK_Trial, can help me?

this my error
Code: Select all
08-14 12:53:21.758 16548-16548/? I/art: Late-enabling -Xcheck:jni
08-14 12:53:22.085 16548-16548/? D/ACRA: ACRA is enabled for com.neurotec.samples.multibiometric, intializing...
08-14 12:53:22.111 16548-16548/? D/ACRA: Looking for error files in /data/data/com.neurotec.samples.multibiometric/files
08-14 12:53:22.117 16548-16548/? D/ACRA: Looking for error files in /data/data/com.neurotec.samples.multibiometric/files
08-14 12:53:22.312 16548-16548/? D/AndroidRuntime: Shutting down VM
08-14 12:53:22.312 16548-16548/? E/ACRA: ACRA caught a ExceptionInInitializerError exception for com.neurotec.samples.multibiometric. Building report.
08-14 12:53:22.332 16548-16548/? D/ACRA: Using default Report Fields
08-14 12:53:22.607 16548-16556/? W/art: Suspending all threads took: 8.515ms
08-14 12:53:23.097 16548-16548/? I/ACRA: READ_LOGS granted! ACRA can include LogCat and DropBox data.
08-14 12:53:23.113 16548-16548/? D/ACRA: Retrieving logcat output...
08-14 12:53:23.134 16548-16548/? D/ACRA: Writing crash report file 1471193603000.stacktrace.
08-14 12:53:23.143 16548-16548/? D/ACRA: Notification will be created on application start.
08-14 12:53:23.149 16548-16608/? D/ACRA: Waiting for Toast + worker...
08-14 12:53:23.151 16548-16556/? I/art: Debugger is no longer active
08-14 12:53:26.156 16548-16608/? D/ACRA: Wait for Toast + worker ended. Kill Application ? true
08-14 12:53:26.159 16548-16608/? E/ACRA: com.neurotec.samples.multibiometric fatal error : null
08-14 12:53:26.159 16548-16608/? E/ACRA: java.lang.ExceptionInInitializerError
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.neurotec.lang.NCore.<clinit>(NCore.java:140)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.neurotec.samples.multibiometric.BiometricActivity.onCreate(BiometricActivity.java:183)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.neurotec.samples.multibiometric.faces.FaceActivity.onCreate(FaceActivity.java:154)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.Activity.performCreate(Activity.java:6010)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.access$800(ActivityThread.java:155)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.os.Handler.dispatchMessage(Handler.java:102)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.os.Looper.loop(Looper.java:135)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.main(ActivityThread.java:5343)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at java.lang.reflect.Method.invoke(Native Method)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at java.lang.reflect.Method.invoke(Method.java:372)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
08-14 12:53:26.159 16548-16608/? E/ACRA:  Caused by: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/android-arm/libjnidispatch.so) not found in resource path (.)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:866)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.sun.jna.Native.<clinit>(Native.java:140)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:84)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.neurotec.lang.NCore.<clinit>(NCore.java:132)
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.neurotec.samples.multibiometric.BiometricActivity.onCreate(BiometricActivity.java:183) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.neurotec.samples.multibiometric.faces.FaceActivity.onCreate(FaceActivity.java:154) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.Activity.performCreate(Activity.java:6010) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.access$800(ActivityThread.java:155) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.os.Handler.dispatchMessage(Handler.java:102) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.os.Looper.loop(Looper.java:135) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at android.app.ActivityThread.main(ActivityThread.java:5343) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at java.lang.reflect.Method.invoke(Native Method) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at java.lang.reflect.Method.invoke(Method.java:372) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905) 
08-14 12:53:26.159 16548-16608/? E/ACRA:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) 
08-14 12:53:26.160 16548-16608/? I/ACRA: Finishing the last Activity prior to killing the Process
08-14 12:53:26.469 16548-16608/? I/ACRA: Finished class com.neurotec.samples.multibiometric.faces.FaceActivity
08-14 12:53:26.469 16548-16608/? I/Process: Sending signal. PID: 16548 SIG: 9
yornel13
 
Posts: 2
Joined: Aug 12, 2016 21:46

Re: Android related questions

Postby Martynas » Aug 17, 2016 08:49

Hi,

Code: Select all
Caused by: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/android-arm/libjnidispatch.so) not found in resource path (.)


This error means that you apk file does not include native libraries (*.so files from teh SDK). Make sure that they are included in your project and that they are included into apk during the build.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Android sample program - multibiometric-sample.apk

Postby char_lee » Sep 06, 2016 20:40

MartynasV wrote:
razali_abu_bakar wrote:We are testing sample program for android "multibiometric-sample.apk" provided in the SDK installation /Bin/Android folder.
We are testing VeriLook app. After capture a photo or load an existing photo, we always get a message "Faces feature points detector file is missing".
What this message is all about ?

Hello,

Check if in your device sd_cardNeurotechnologyDatamultibiometricFaces.ndf file exists. If there isn"t that file, then upload from SDK_FolderBinData folder. If application still won"t work then provide SDK revision number, which you can find in SDK root folder in revision.txt file.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i am testing VeriLook app in eclipse. After capture a photo or load an existing photo, we always get a message "Faces feature points detector file is missing".
the product revision number: 149646
char_lee
 
Posts: 1
Joined: Sep 06, 2016 20:34

Re: Android sample program - multibiometric-sample.apk

Postby MartynasV » Sep 07, 2016 08:35

char_lee wrote:i am testing VeriLook app in eclipse. After capture a photo or load an existing photo, we always get a message "Faces feature points detector file is missing".
the product revision number: 149646

Hello char_lee,

Error message means that some of ndf files are not found, you have to make sure that they are available for the application.
In Eclipse in your project create "assets" folder (if doesn't exist) and inside create "data" directory(lower case), then copy all required ndf files to "assets/data" directory, rebuild project and redeploy.
If you build and deploy application with Maven, then ndf files wouldn't be missing.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Supported Mobile Devices for Verifinger SDK

Postby meet haria » Sep 20, 2016 07:54

Dear Sir,
I would like to know which all android devices are supported for installing verifinger sdk.
Regards.

Admin: merged to "Android related questions"
meet haria
 
Posts: 1
Joined: Sep 20, 2016 07:51

Re: Supported Mobile Devices for Verifinger SDK

Postby vaidasz » Sep 20, 2016 13:17

meet haria wrote:Dear Sir,
I would like to know which all android devices are supported for installing verifinger sdk.
Regards.


Hello,

Please check http://www.neurotechnology.com/verifing ... ml#android website.
Vaidas Z
Neurotechnology
vaidasz
Neurotechnology
 
Posts: 559
Joined: Apr 30, 2010 06:57
Location: Vilnius, Lithuania

Importing Android biometric-sample into android studio 2.2

Postby Dasuma » Oct 08, 2016 22:01

I am using Neurotec_Biometric 9.0 SDK and I have been trying to import the Android Sample in my Android studio 2.2 but have not been able.
Can you please assist/guide me on how to import the project sample in android studio 2.2?

Dasuma

Admin: merged to "Android related questions"
Dasuma
 
Posts: 2
Joined: Apr 30, 2016 12:49

Re: Importing Android biometric-sample into android studio 2

Postby Martynas » Oct 11, 2016 10:53

Dasuma wrote:I am using Neurotec_Biometric 9.0 SDK and I have been trying to import the Android Sample in my Android studio 2.2 but have not been able.
Can you please assist/guide me on how to import the project sample in android studio 2.2?

Dasuma

Hello,

instructions are provided in the documentation of the SDK, section "7.4.1. Gradle".
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Importing Android biometric-sample into android studio 2

Postby Dasuma » Oct 11, 2016 23:48

Martynas wrote:Hello,

instructions are provided in the documentation of the SDK, section "7.4.1. Gradle".

I have imported the classes/libraries but am having issues now with the following imports:

import com.neurotec.samples.licensing.LicensingManager;
import com.neurotec.samples.multibiometric.BiometricActivity;
import com.neurotec.samples.multibiometric.R;
import com.neurotec.samples.multibiometric.fingers.preference.FingerPreferences;
import com.neurotec.samples.util.IOUtils;
import com.neurotec.samples.util.NImageUtils;
import com.neurotec.samples.util.ResourceUtils;

Am seeing the following error messages when i try to run:
Error:(35, 38) error: package com.neurotec.samples.licensing does not exist

How do i deal with this?
Dasuma
 
Posts: 2
Joined: Apr 30, 2016 12:49

Re: Importing Android biometric-sample into android studio 2

Postby Martynas » Oct 12, 2016 12:23

Dasuma wrote:I have imported the classes/libraries but am having issues now with the following imports:

import com.neurotec.samples.licensing.LicensingManager;
import com.neurotec.samples.multibiometric.BiometricActivity;
import com.neurotec.samples.multibiometric.R;
import com.neurotec.samples.multibiometric.fingers.preference.FingerPreferences;
import com.neurotec.samples.util.IOUtils;
import com.neurotec.samples.util.NImageUtils;
import com.neurotec.samples.util.ResourceUtils;

Am seeing the following error messages when i try to run:
Error:(35, 38) error: package com.neurotec.samples.licensing does not exist

How do i deal with this?

Hi,

import the project from SDKs folder "Samples\Common\Android\utils" into your project.
Classes, which you are trying to use are provided as sample project, so in order to use them add this project too.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

com.neurotec.lang.NIllegalArgumentException: Source missing

Postby ambagape » Nov 17, 2016 10:54

Hi Neurotec,

Please. help. I get this error when I try to read from a biometric fingerprint scanner. Note that your demos work fine with the scanner. But i do know what I am doing wrong.

Code: Select all
com.neurotec.lang.NIllegalArgumentException: Source missing
   at com.neurotec.lang.RuntimeErrorCreator.create(RuntimeErrorCreator.java:22)
   at com.neurotec.lang.ChainedErrorCreator.create(ChainedErrorCreator.java:22)
   at com.neurotec.lang.NError.get(NError.java:174)
   at com.neurotec.biometrics.NBiometricTask.getError(NBiometricTask.java:394)
   at com.pethers.pehcs.ant.MainController$9$1.completed(MainController.java:413)
   at com.pethers.pehcs.ant.MainController$9$1.completed(MainController.java:407)
   at com.neurotec.util.concurrent.NCompletionHandler$1.stateChanged(NCompletionHandler.java:20)
   at com.neurotec.lang.NObject$2.invoke(NObject.java:128)



My is code is as follows:

Code: Select all
  NFinger finger = null;
                    final NSubject subject = new NSubject();
                    finger = new NFinger();
                    biometricClient.setFingerScanner((NFScanner) nDevice);
                    subject.getFingers().add(finger);
                    System.out.println("Capturing....");
                    NBiometricTask task = biometricClient.createTask(EnumSet.of(NBiometricOperation.CAPTURE, NBiometricOperation.CREATE_TEMPLATE), subject);
                    biometricClient.performTask(task,null,new CompletionHandler<NBiometricTask, Object>(){
                        @Override
                        public void completed(final NBiometricTask result, final Object attachment) {
                            if (result.getStatus() == NBiometricStatus.OK) {
                                    fingerPrint.setImage(ImageConverter.toFxImage(subject.getFingers().get(0).getImage().toImage()));
                            } else {
                                    Logger.getAnonymousLogger().log(Level.SEVERE, "An error", result.getError());
                            }
                           
                        }

                        @Override
                        public void failed(Throwable thrwbl, Object a) {
                            Logger.getAnonymousLogger().log(Level.SEVERE, thrwbl.getMessage(), thrwbl); //To change body of generated methods, choose Tools | Templates.
                        }
                    });



Thanks.

Admin: merged to "Android related questions"
ambagape
 
Posts: 1
Joined: Nov 02, 2016 01:56

Re: com.neurotec.lang.NIllegalArgumentException: Source miss

Postby Martynas » Nov 17, 2016 15:18

ambagape wrote:Hi Neurotec,

Please. help. I get this error when I try to read from a biometric fingerprint scanner. Note that your demos work fine with the scanner. But i do know what I am doing wrong.

Code: Select all
com.neurotec.lang.NIllegalArgumentException: Source missing
   at com.neurotec.lang.RuntimeErrorCreator.create(RuntimeErrorCreator.java:22)
   at com.neurotec.lang.ChainedErrorCreator.create(ChainedErrorCreator.java:22)
   at com.neurotec.lang.NError.get(NError.java:174)
   at com.neurotec.biometrics.NBiometricTask.getError(NBiometricTask.java:394)
   at com.pethers.pehcs.ant.MainController$9$1.completed(MainController.java:413)
   at com.pethers.pehcs.ant.MainController$9$1.completed(MainController.java:407)
   at com.neurotec.util.concurrent.NCompletionHandler$1.stateChanged(NCompletionHandler.java:20)
   at com.neurotec.lang.NObject$2.invoke(NObject.java:128)



My is code is as follows:

Code: Select all
  NFinger finger = null;
                    final NSubject subject = new NSubject();
                    finger = new NFinger();
                    biometricClient.setFingerScanner((NFScanner) nDevice);
                    subject.getFingers().add(finger);
                    System.out.println("Capturing....");
                    NBiometricTask task = biometricClient.createTask(EnumSet.of(NBiometricOperation.CAPTURE, NBiometricOperation.CREATE_TEMPLATE), subject);
                    biometricClient.performTask(task,null,new CompletionHandler<NBiometricTask, Object>(){
                        @Override
                        public void completed(final NBiometricTask result, final Object attachment) {
                            if (result.getStatus() == NBiometricStatus.OK) {
                                    fingerPrint.setImage(ImageConverter.toFxImage(subject.getFingers().get(0).getImage().toImage()));
                            } else {
                                    Logger.getAnonymousLogger().log(Level.SEVERE, "An error", result.getError());
                            }
                           
                        }

                        @Override
                        public void failed(Throwable thrwbl, Object a) {
                            Logger.getAnonymousLogger().log(Level.SEVERE, thrwbl.getMessage(), thrwbl); //To change body of generated methods, choose Tools | Templates.
                        }
                    });



Thanks.

Hi,

if you are using Android Studio: go to File -> Settings -> Build, Execution, Deployment -> Instant Run and uncheck the box "Enable Instant Run to hot swap.."
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Android related questions

Postby shahinb50 » Jan 30, 2017 08:16

Hi,
I could import Neurotec Biometric 9.0 SDK Trial in android studio 1.4.0 correctly ( maven + jdk 1.7 ) but i cant correctly import it in android studio 2.2.2 ( have jdk1.8 and with out maven plugin - i try to copy maven from old version to this android studio)
how i can import it in android studio 2.2.2?
shahinb50
 
Posts: 1
Joined: Jan 30, 2017 05:45

Re: Android related questions

Postby MartynasV » Jan 31, 2017 07:04

shahinb50 wrote:Hi,
I could import Neurotec Biometric 9.0 SDK Trial in android studio 1.4.0 correctly ( maven + jdk 1.7 ) but i cant correctly import it in android studio 2.2.2 ( have jdk1.8 and with out maven plugin - i try to copy maven from old version to this android studio)
how i can import it in android studio 2.2.2?

Hello,

Since Android Studio 2.0 Maven support was removed, so with Android Studio > 2.0 you will have to import our samples as Gradle projects.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 248
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Android related questions

Postby hackontech » May 07, 2017 08:04

Hello

I am using the latest build of MegaMatcher SDK 5.0 and we are developing android application with it. All the things works really well on android < 5.0 ( checked with 4.0, 4.1. 4.2.2, 4.4 ) but on 5.0 and later it crashes. For android version < 5.0 it works and we have been using the app for over a year, but now we have android 5.0 and plus. We need urgent help.
The fingerprint template is extracted but when the call to the server is made it crash here, on the server end the request never reaches as i have been monitoring the server.

Below are the DDMS results.
Code: Select all
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: the return type of CallObjectMethodV does not match void com.neurotec.cluster.TaskProgress.setProgress(int)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]     in call to CallObjectMethodV
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]     from void com.neurotec.cluster.Client.getProgress(long, int, com.neurotec.cluster.TaskProgress)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65] "AsyncTask #4" prio=5 tid=21 Runnable
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0 obj=0x1366a400 self=0x9f9c2c00
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   | sysTid=4082 nice=10 cgrp=apps/bg_non_interactive sched=0/0 handle=0xb4ffd580
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   | state=R schedstat=( 19271407 31127554 60 ) utm=0 stm=1 core=3 HZ=100
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   | stack=0xa28ae000-0xa28b0000 stackSize=1036KB
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #00 pc 00004640  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #01 pc 00002e8d  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #02 pc 002484a9  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #03 pc 0022d1e3  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+146)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #04 pc 000b17d3  /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #05 pc 000b1f0d  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #06 pc 000b28c3  /system/lib/libart.so (art::ScopedCheck::CheckSig(_jmethodID*, char const*, bool) (.constprop.130)+266)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #07 pc 000b97e1  /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+60)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #08 pc 00008a1c  /data/app/com.hackontech.rsi-1/lib/arm/libNClusterJni.so (JNIEnv_::CallObjectMethod(_jobject*, _jmethodID*, ...)+32)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #09 pc 00008c6c  /data/app/com.hackontech.rsi-1/lib/arm/libNClusterJni.so (Java_com_neurotec_cluster_Client_getProgress+228)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   native: #10 pc 000c4c81  /data/dalvik-cache/arm/data@app@com.hackontech.rsi-1@base.apk@classes.dex (Java_com_neurotec_cluster_Client_getProgress__JILcom_neurotec_cluster_TaskProgress_2+128)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at com.neurotec.cluster.Client.getProgress(Native method)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at com.neurotec.cluster.Client.getProgress(Client.java:94)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   - locked <0x11e57a00> (a com.neurotec.cluster.Client)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at com.hackontech.rsi.BiometricActivity$SendTaskTemp.doInBackground(BiometricActivity.java:657)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at com.hackontech.rsi.BiometricActivity$SendTaskTemp.doInBackground(BiometricActivity.java:1)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at android.os.AsyncTask$2.call(AsyncTask.java:288)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]   at java.lang.Thread.run(Thread.java:818)
05-07 13:01:51.986: A/art(31503): art/runtime/check_jni.cc:65]
05-07 13:01:52.066: A/libc(31503): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x42 in tid 4082 (AsyncTask #4)
05-07 13:01:52.146: I/DEBUG(281): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-07 13:01:52.146: I/DEBUG(281): Build fingerprint: "samsung/hlteuc/hlteatt:5.0/LRX21V/N900AUCUEOC2:user/release-keys"
05-07 13:01:52.146: I/DEBUG(281): Revision: "8"
05-07 13:01:52.146: I/DEBUG(281): ABI: "arm"
05-07 13:01:52.146: I/DEBUG(281): pid: 31503, tid: 4082, name: AsyncTask #4  >>> com.hackontech.rsi <<<
05-07 13:01:52.146: I/DEBUG(281): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x42
05-07 13:01:52.226: I/DEBUG(281): Abort message: "art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: the return type of CallObjectMethodV does not match void com.neurotec.cluster.TaskProgress.setProgress(int)"
05-07 13:01:52.236: I/DEBUG(281):     r0 a29af4a8  r1 fffffaa4  r2 00000000  r3 a8b90af9
05-07 13:01:52.236: I/DEBUG(281):     r4 a29af4a8  r5 00000002  r6 b6fbce04  r7 00000000
05-07 13:01:52.236: I/DEBUG(281):     r8 b4efcc68  r9 b4f07888  sl b4f69300  fp 75e89a80
05-07 13:01:52.236: I/DEBUG(281):     ip fffffab0  sp a29af3c8  lr b4e252c5  pc b4e2ab08  cpsr a00e0030
05-07 13:01:52.236: I/DEBUG(281): backtrace:
05-07 13:01:52.236: I/DEBUG(281):     #00 pc 0022ab08  /system/lib/libart.so (art::StackDumpVisitor::VisitFrame()+27)
05-07 13:01:52.236: I/DEBUG(281):     #01 pc 002252c3  /system/lib/libart.so (art::StackVisitor::WalkStack(bool)+250)
05-07 13:01:52.236: I/DEBUG(281):     #02 pc 0022d223  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+210)
05-07 13:01:52.236: I/DEBUG(281):     #03 pc 00235b61  /system/lib/libart.so (art::ThreadList::DumpLocked(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+104)
05-07 13:01:52.236: I/DEBUG(281):     #04 pc 0021da0d  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+236)
05-07 13:01:52.236: I/DEBUG(281):     #05 pc 0021dc59  /system/lib/libart.so (art::Runtime::Abort()+72)
05-07 13:01:52.236: I/DEBUG(281):     #06 pc 000a838b  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
05-07 13:01:52.236: I/DEBUG(281):     #07 pc 000b19b1  /system/lib/libart.so (art::JniAbort(char const*, char const*)+1060)
05-07 13:01:52.236: I/DEBUG(281):     #08 pc 000b1f0d  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
05-07 13:01:52.236: I/DEBUG(281):     #09 pc 000b28c3  /system/lib/libart.so (_ZN3art11ScopedCheck8CheckSigEP10_jmethodIDPKcb.constprop.130+266)
05-07 13:01:52.236: I/DEBUG(281):     #10 pc 000b97e1  /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+60)
05-07 13:01:52.236: I/DEBUG(281):     #11 pc 00008a1c  /data/app/com.hackontech.rsi-1/lib/arm/libNClusterJni.so (JNIEnv_::CallObjectMethod(_jobject*, _jmethodID*, ...)+32)
05-07 13:01:52.236: I/DEBUG(281):     #12 pc 00008c6c  /data/app/com.hackontech.rsi-1/lib/arm/libNClusterJni.so (Java_com_neurotec_cluster_Client_getProgress+228)
05-07 13:01:52.236: I/DEBUG(281):     #13 pc 000c4c81  /data/dalvik-cache/arm/data@app@com.hackontech.rsi-1@base.apk@classes.dex
05-07 13:01:52.276: V/audio_hw_primary(296): out_standby: enter: usecase(0: deep-buffer-playback)
05-07 13:01:52.456: V/audio_hw_primary(296): stop_output_stream: enter: usecase(0: deep-buffer-playback)
05-07 13:01:52.456: V/audio_hw_primary(296): disable_audio_route: enter: usecase(0)
05-07 13:01:52.456: V/audio_hw_primary(296): disable_audio_route: reset mixer path: deep-buffer-playback
05-07 13:01:52.456: D/audio_route(296): ++++ audio_route_update_mixer ==============
05-07 13:01:52.456: D/audio_route(296): Setting mixer control: SLIMBUS_0_RX Audio Mixer MultiMedia1
05-07 13:01:52.466: D/audio_route(296): Setting mixer control: value: 0
05-07 13:01:52.466: D/audio_route(296): ------ audio_route_update_mixer ==============
05-07 13:01:52.476: V/audio_hw_primary(296): disable_audio_route: exit
05-07 13:01:52.476: V/audio_hw_primary(296): disable_snd_device: snd_device(2: speaker)
05-07 13:01:52.476: D/audio_route(296): ++++ audio_route_update_mixer ==============
05-07 13:01:52.476: D/audio_route(296): Setting mixer control: SPK DRV Volume
05-07 13:01:52.476: D/audio_route(296): Setting mixer control: value: 0
05-07 13:01:52.486: D/audio_route(296): Setting mixer control: RX7 Digital Volume
05-07 13:01:52.486: D/audio_route(296): Setting mixer control: value: 0
05-07 13:01:52.486: D/audio_route(296): Setting mixer control: COMP0 Switch
05-07 13:01:52.486: D/audio_route(296): Setting mixer control: value: 0
05-07 13:01:52.486: D/audio_route(296): Setting mixer control: RX7 MIX1 INP1, value: 0
05-07 13:01:52.496: D/audio_route(296): Setting mixer control: DAC1 Switch
05-07 13:01:52.496: D/audio_route(296): Setting mixer control: value: 0
05-07 13:01:52.506: D/audio_route(296): Setting mixer control: SPK Status
05-07 13:01:52.506: D/audio_route(296): Setting mixer control: value: 0
05-07 13:01:52.506: D/audio_route(296): ------ audio_route_update_mixer ==============
05-07 13:01:52.506: V/audio_hw_primary(296): stop_output_stream: exit: status(0)
05-07 13:01:52.506: V/audio_hw_primary(296): out_standby: exit
05-07 13:01:52.596: D/STATUSBAR-WifiQuickSettingButton(1192): onWifiSignalChanged enabled=true enabledDesc:"Zong4G"
05-07 13:01:53.006: D/STATUSBAR-WifiQuickSettingButton(1192): onWifiSignalChanged enabled=true enabledDesc:"Zong4G"
05-07 13:01:53.006: D/StatusBar.NetworkController(1192): applyOpen
05-07 13:01:53.006: D/StatusBar.NetworkController(1192): applyOpen
05-07 13:01:53.006: D/StatusBar.NetworkController(1192): applyOpen
05-07 13:01:53.006: D/StatusBar.NetworkController(1192): applyOpen
05-07 13:01:53.266: I/DEBUG(281): Tombstone written to: /data/tombstones/tombstone_04
05-07 13:01:53.266: E/(281): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 31503
05-07 13:01:53.266: I/BootReceiver(870): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
05-07 13:01:53.296: I/dumpstate(4105): begin
05-07 13:01:53.316: W/ActivityManager(870):   Force finishing activity com.hackontech.rsi/.FingerActivity
05-07 13:01:53.376: I/dumpstate(4110): begin
05-07 13:01:53.376: I/dumpstate(4110): dumpstate is still running
05-07 13:01:53.376: D/StatusBarManagerService(870): manageDisableList userId=0 what=0x0 pkg=WindowManager.LayoutParams
05-07 13:01:53.376: D/PointerIcon(870): setMouseIconStyle1 pointerType: 1001iconType:101 flag:0
05-07 13:01:53.376: D/PointerIcon(870): setMouseCustomIcon IconType is same.101
05-07 13:01:53.376: D/PointerIcon(870): setHoveringSpenIconStyle1 pointerType: 10001iconType:1 flag:0
05-07 13:01:53.376: D/PointerIcon(870): setHoveringSpenCustomIcon IconType is same.1
05-07 13:01:53.406: I/SurfaceFlinger(263): id=2962 createSurf (49x49),1 flag=4, ssi
05-07 13:01:53.416: D/CrashAnrDetector(870): Build: samsung/hlteuc/hlteatt:5.0/LRX21V/N900AUCUEOC2:user/release-keys
05-07 13:01:53.416: D/CrashAnrDetector(870): Hardware: MSM8974
05-07 13:01:53.416: D/CrashAnrDetector(870): Revision: 8
05-07 13:01:53.416: D/CrashAnrDetector(870): Bootloader: N900AUCUEOC2
05-07 13:01:53.416: D/CrashAnrDetector(870): Radio: unknown
05-07 13:01:53.416: D/CrashAnrDetector(870): Kernel: Linux version 3.4.0-4335446 (dpi@SWHD4309) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Fri Jul 31 21:47:49 KST 2015
05-07 13:01:53.416: D/CrashAnrDetector(870): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-07 13:01:53.416: D/CrashAnrDetector(870): Build fingerprint: "samsung/hlteuc/hlteatt:5.0/LRX21V/N900AUCUEOC2:user/release-keys"
05-07 13:01:53.416: D/CrashAnrDetector(870): Revision: "8"
05-07 13:01:53.416: D/CrashAnrDetector(870): ABI: "arm"
05-07 13:01:53.416: D/CrashAnrDetector(870): pid: 31503, tid: 4082, name: AsyncTask #4  >>> com.hackontech.rsi <<<
05-07 13:01:53.416: D/CrashAnrDetector(870): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x42
05-07 13:01:53.416: D/CrashAnrDetector(870): Abort message: "art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: the return type of CallObjectMethodV does not match void com.neurotec.cluster.TaskProgress.setProgress(int)"
05-07 13:01:53.416: D/CrashAnrDetector(870):     r0 a29af4a8  r1 fffffaa4  r2 00000000  r3 a8b90af9
05-07 13:01:53.416: D/CrashAnrDetector(870):     r4 a29af4a8  r5 00000002  r6 b6fbce04  r7 00000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     r8 b4efcc68  r9 b4f07888  sl b4f69300  fp 75e89a80
05-07 13:01:53.416: D/CrashAnrDetector(870):     ip fffffab0  sp a29af3c8  lr b4e252c5  pc b4e2ab08  cpsr a00e0030
05-07 13:01:53.416: D/CrashAnrDetector(870):     d0  0000000000000000  d1  0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d2  0000000000000000  d3  0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d4  636466366278303d  d5  207c20200a386365
05-07 13:01:53.416: D/CrashAnrDetector(870):     d6  20533d6574617473  d7  6174736465686373
05-07 13:01:53.416: D/CrashAnrDetector(870):     d8  0000000000000000  d9  0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d10 0000000000000000  d11 0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d12 0000000000000000  d13 0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d14 0000000000000000  d15 0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d16 0000000000000000  d17 ad1acc00ad1ad000
05-07 13:01:53.416: D/CrashAnrDetector(870):     d18 9a7135009a713520  d19 9a7134c09a7134e0
05-07 13:01:53.416: D/CrashAnrDetector(870):     d20 9a7134809a7134a0  d21 9a7134409a713460
05-07 13:01:53.416: D/CrashAnrDetector(870):     d22 9a7134009a713420  d23 9a7133e09a713380
05-07 13:01:53.416: D/CrashAnrDetector(870):     d24 4040400000004040  d25 4040400000004040
05-07 13:01:53.416: D/CrashAnrDetector(870):     d26 0202020202020202  d27 0202020202020202
05-07 13:01:53.416: D/CrashAnrDetector(870):     d28 0101010101010101  d29 0101010101010101
05-07 13:01:53.416: D/CrashAnrDetector(870):     d30 0000000000000000  d31 0000000000000000
05-07 13:01:53.416: D/CrashAnrDetector(870):     scr 28000013
05-07 13:01:53.416: D/CrashAnrDetector(870): backtrace:
05-07 13:01:53.416: D/CrashAnrDetector(870):     #00 pc 0022ab08  /system/lib/libart.so (art::StackDumpVisitor::VisitFrame()+27)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #01 pc 002252c3  /system/lib/libart.so (art::StackVisitor::WalkStack(bool)+250)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #02 pc 0022d223  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+210)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #03 pc 00235b61  /system/lib/libart.so (art::ThreadList::DumpLocked(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+104)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #04 pc 0021da0d  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+236)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #05 pc 0021dc59  /system/lib/libart.so (art::Runtime::Abort()+72)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #06 pc 000a838b  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #07 pc 000b19b1  /system/lib/libart.so (art::JniAbort(char const*, char const*)+1060)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #08 pc 000b1f0d  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #09 pc 000b28c3  /system/lib/libart.so (_ZN3art11ScopedCheck8CheckSigEP10_jmethodIDPKcb.constprop.130+266)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #10 pc 000b97e1  /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+60)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #11 pc 00008a1c  /data/app/com.hackontech.rsi-1/lib/arm/libNClusterJni.so (JNIEnv_::CallObjectMethod(_jobject*, _jmethodID*, ...)+32)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #12 pc 00008c6c  /data/app/com.hackontech.rsi-1/lib/arm/libNClusterJni.so (Java_com_neurotec_cluster_Client_getProgress+228)
05-07 13:01:53.416: D/CrashAnrDetector(870):     #13 pc 000c4c81  /data/dalvik-cache/arm/data@app@com.hackontech.rsi-1@base.apk@classes.dex
05-07 13:01:53.416: D/CrashAnrDetector(870): stack:
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af348  b6fc4ff0 
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af34c  b6f9ee11  /system/lib/libc.so (je_tcache_event_hard+56)
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af350  73222288  /system/framework/arm/boot.oat
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af354  aaa59000  [anon:libc_malloc]
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af358  00353136 
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af35c  0000007b 
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af360  aaa2b420  [anon:libc_malloc]
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af364  b4ec02fc  /system/lib/libart.so
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af368  aaa2b458  [anon:libc_malloc]
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af36c  b4ef8df8  /system/lib/libart.so
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af370  aaa2b420  [anon:libc_malloc]
05-07 13:01:53.416: D/CrashAnrDetector(870):          a29af374  b4ca4f54  /system/lib/libart.so (std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*)+284)
05-07 13:01:53.416: D/CrashAnrDetector(870): processName:com.hackontech.rsi
05-07 13:01:53.416: D/CrashAnrDetector(870): broadcastEvent : com.hackontech.rsi SYSTEM_TOMBSTONE
05-07 13:01:53.436: I/OpenGLRenderer(870): Initialized EGL, version 1.4
05-07 13:01:53.446: W/ContextImpl(870): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1713 com.android.server.analytics.data.collection.application.CrashAnrDetector.broadcastEvent:296 com.android.server.analytics.data.collection.application.CrashAnrDetector.processDropBoxEntry:254 com.android.server.analytics.data.collection.application.CrashAnrDetector.access$100:60 com.android.server.analytics.data.collection.application.CrashAnrDetector$1.onReceive:102
hackontech
 
Posts: 7
Joined: May 07, 2017 07:52

Re: Android related questions

Postby Martynas » May 08, 2017 12:06

Hi,

What is the revision number of the SDK you are using? It can be found in the Revision.txt file of the downloaded SDK.
Could you also provide the code snippet, which would show how you perform identification?
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2192
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Previous

Return to Public

Who is online

Users browsing this forum: No registered users and 5 guests