03-07 15:33:42.745: E/AndroidRuntime(19239): java.lang.UnsatisfiedLinkError: No implementation found for void com.glbasic.test.SDLActivity.setFilesPath(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) (tried Java_com_glbasic_test_SDLActivity_setFilesPath and Java_com_glbasic_test_SDLActivity_setFilesPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2)
03-07 15:33:42.745: E/AndroidRuntime(19239): at com.glbasic.test.SDLActivity.setFilesPath(Native Method)
03-07 15:33:42.745: E/AndroidRuntime(19239): at com.glbasic.test.SDLActivity.onCreate(SDLActivity.java:298)
method signature:
public static native void setFilesPath(String path, String devid, String cache, String lang, String extStoragePubDir);
Android Code Snippet:
setFilesPath(dataDir.toString(),
AndroidId.toString(),
chacheDir.toString(),
java.util.Locale.getDefault().getLanguage(), // getDisplayCountry()
ext_storage
);
You might need to set the JAVA home path in Windows itself, not GLB - http://javarevisited.blogspot.co.uk/2013/02/windows-8-set-path-and-classpath-java-windows-7.html
This is for Windows 7 & 8, but my upgrade to 10 still maintains the path, so should work on 10 too. maybe.
Setting up JAVA and Android is a hassle but once it's done it's done!
[EDIT] Here's another site with screenhosts showing how to set the path - scroll down a bit.
http://stackoverflow.com/questions/2619584/how-to-set-java-home-on-windows-7
in my win7
java home was set
i can run command java -version
and i installed eclipse and android studio to develop
they both ok
--my english is not good,i hope you can understand
Your English is fine :)
As for your problem, erm.. Android is not my strongpoint. Have you tried downloading android Extras - this takes some of the headache out of developing for Android.
the ndk mightbeen missing. Did you try using the Android Extras download (which is required for glbasic v14)? sdl_main.cpp seens to been missing, where the Java code link to.
is there any video to teach people how to export android?
i'm newbie,i don't know how to do this.
and i try to build sample project and export it to html or html-webgl,there is no error,but when i run on firefox or chrome,browser always show "no responding"
i hope you can understand,my english is not good :)
i reload NDK,OK :~)
but html still can't :~(
Iim not sure HTML does work? Android and HTML is two diffefent thing. I'm can't help with the html part.