stu wrote:Unfortunately that's as far as it gets because the resulting app fails during the initial self testing process, here is the output of LogCat https://gist.github.com/stujones11/8375453
Does anyone have any ideas why this might be? It seems like it worked ok on sailfish os and xyz's patches work fine with freeminer. I suspect it is probably something quite simple but I have no idea where to begin looking.
sfan5 wrote:stu wrote:Unfortunately that's as far as it gets because the resulting app fails during the initial self testing process, here is the output of LogCat https://gist.github.com/stujones11/8375453
Does anyone have any ideas why this might be? It seems like it worked ok on sailfish os and xyz's patches work fine with freeminer. I suspect it is probably something quite simple but I have no idea where to begin looking.
You need to somehow pass --disable-unittests to minetest, your LogCat output shows that it ran the unit tests and exited.
xyz wrote:You won't be able to figure out anything without using ndk-gdb, so do that.
stu wrote:Do you happen to know if there is any way I can just reconfigure the ndk-gdb?
hoodedice wrote:Great work stu! Would've tested this, but my phone's 386 MB RAM is not at all enough for MT.
hoodedice wrote:Are you putting any optimizations for android? I don't think so. If you didn't, there is no way in hell anything with less than 1 GB of RAM can run it above 20 fps. BuildCraft lagged horribly on my device, and the textures never showed up either.
Novacain wrote:I take it the lower right hand button is the menu, and the middle button in the directions is to jump? also, does it have multi-touch support so you can sneak and move at the same time? oh, and do you have toggles for fly, no-clip, and fast?
stu wrote:Novacain wrote:I take it the lower right hand button is the menu, and the middle button in the directions is to jump? also, does it have multi-touch support so you can sneak and move at the same time? oh, and do you have toggles for fly, no-clip, and fast?
The lower right button shows the player inventory and craft grid, there is currently no way to return to the menu (at least the back button is not working on my device running JellyBean) The middle button is the jump key and multi-touch is supported. There are currently no buttons for fly, fast etc but could be easily added in future but with the current performance level and view range I do not see much point right now.
Incidentally, I just pushed a change preventing a crash when soft-keyboard is closed in Android 4.1 and 4.2
Martin_Devil wrote:stu wrote:Novacain wrote:I take it the lower right hand button is the menu, and the middle button in the directions is to jump? also, does it have multi-touch support so you can sneak and move at the same time? oh, and do you have toggles for fly, no-clip, and fast?
The lower right button shows the player inventory and craft grid, there is currently no way to return to the menu (at least the back button is not working on my device running JellyBean) The middle button is the jump key and multi-touch is supported. There are currently no buttons for fly, fast etc but could be easily added in future but with the current performance level and view range I do not see much point right now.
Incidentally, I just pushed a change preventing a crash when soft-keyboard is closed in Android 4.1 and 4.2
Can I get the apk?
stu wrote:Rebased and updated.
Added auto-extraction of minetest support files from jni assets directory.
Note: If you already have a /sdcard/minetest folder from a previous version
then you should delete this before launching the new apk.
Github: https://github.com/stujones11/minetest/tree/android_new
Now available as a debug.apk for testing purposes only.
Do not try to run this on anything you are not prepared to break!
Ok the worst that should happen is that it just won't work but I can not promise anything.
Please do not post things like: You broke my phone or it doesn't work.
At very least tell me what happens and what version of android you are running.
It is probably not a good idea to connect to public servers without the consent of the owner.
Cheers!
hoodedice wrote:Should I test MT?
thetoon wrote:android's virtual keyboard doesn't roll-out, so it's a bit hard playing when it's been used (like just after typing a new world's name). Restarting the app worked around it.
thetoon wrote:it's nice to be able to select blocks by clicking them. It would be even nicer if long-pressing them could mine them (much easier than a virtual button, if you ask me).
Amaz wrote:This is really good! I messed around with it for about 30 minutes, and even installed some mods and the Dwarves gamemode... (There is no need to worry about my sanity, I already know that I am insane!)
There are a few bugs (but that is to be expected) like the rendering distance fluctuates massively, sometimes it is 15 blocks, over times it is 40+... When you dig nodes, you sometimes have to press the dig button several times. I'm not sure what the purpose is of the little button with an arrow pointing down in the far bottom left corner is... As thetoon said, there is no way to exit the keyboard after creating a world, so you have to leave the app and come back to be able to play... As far as bugs go that is it as far as I can see, except that it sometimes will randomly freeze and quit.
I/ActivityManager( 264): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.minetest/android.app.NativeActivity bnds=[812,481][884,553] u=0} from pid 464
D/AudioHardware( 89): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 89): openPcmOut_l() mPcmOpenCnt: 0
D/dalvikvm( 1952): Late-enabling CheckJNI
I/ActivityManager( 264): Start proc org.minetest for activity org.minetest/android.app.NativeActivity: pid=1952 uid=10071 gids={3003, 1028, 1015}
I/dalvikvm( 1952): Turning on JNI app bug workarounds for target SDK version 9...
D/AndroidRuntime( 1952): Shutting down VM
W/dalvikvm( 1952): threadid=1: thread exiting with uncaught exception (group=0x418fc300)
E/AndroidRuntime( 1952): FATAL EXCEPTION: main
E/AndroidRuntime( 1952): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.minetest/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to find native library: Minetest
E/AndroidRuntime( 1952): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
E/AndroidRuntime( 1952): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/AndroidRuntime( 1952): at android.app.ActivityThread.access$600(ActivityThread.java:130)
E/AndroidRuntime( 1952): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 1952): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1952): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1952): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 1952): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1952): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1952): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 1952): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 1952): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1952): Caused by: java.lang.IllegalArgumentException: Unable to find native library: Minetest
E/AndroidRuntime( 1952): at android.app.NativeActivity.onCreate(NativeActivity.java:195)
E/AndroidRuntime( 1952): at android.app.Activity.performCreate(Activity.java:5008)
E/AndroidRuntime( 1952): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
E/AndroidRuntime( 1952): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
E/AndroidRuntime( 1952): ... 11 more
W/ActivityManager( 264): Force finishing activity org.minetest/android.app.NativeActivity
D/dalvikvm( 264): GC_CONCURRENT freed 998K, 17% free 10015K/12039K, paused 18ms+15ms, total 196ms
W/ActivityManager( 264): Activity pause timeout for ActivityRecord{4234b760 org.minetest/android.app.NativeActivity}
I/Process ( 1952): Sending signal. PID: 1952 SIG: 9
W/InputMethodManagerService( 264): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@422d9ae0 attribute=null
I/ActivityManager( 264): Process org.minetest (pid 1952) has died.
VanessaE wrote:Tried the debug apk on my little Xelio P1001A tablet (rooted). The install seemed to go okay, but it instantly crashes as soon as you tap the launcher icon.
VanessaE wrote:It's running the stock Android 4.1 that came with it (I doubt they'll ever offer upgrades :P ).
Users browsing this forum: No registered users and 10 guests