Answering my  own question:

No more VM aborts on excessive JNI references:

adb shell setprop dalvik.vm.jniopts warnonly

OR limit the amount of jni refs:

adb shell setprop dalvik.vm.extra-opts "-Xjnigreflimit:<NUMBER>"



Afterwards do :
adb shell stop
adb shell start



On Monday, June 24, 2013 2:22:46 PM UTC+3, AndroidCompile wrote:
>
> Hi 
> I need to add to the Xjniopts when creating a new VM to "nowarn".
> How do I do that?
> Where is the source of these settings that are found in Init.cpp and 
> Jni.cpp?
> Is this a build prop of some sort? 
>
> Thanks

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to