Forge for Android v1.6.15.003
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Forge for Android v1.6.2.003
by kevlahnota » 27 Aug 2017, 14:23
@Agetian Thanks. Anyway I have the same problem with Kawashy, but on my device (MIUI) it crashes with boolean preferences(null object reference) on startup (when checking the UI_ANDROID_MINIMIZE_ON_SCRLOCK).
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: Forge for Android v1.6.2.003
by Agetian » 27 Aug 2017, 14:47
Hmm, that's odd, I'm not experiencing that on my end, but I think I know how it can be patched up.
The SVN repository is currently down, but I'll try to commit a fix once it goes back up.
- Agetian
The SVN repository is currently down, but I'll try to commit a fix once it goes back up.
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Forge for Android v1.6.2.004
by Agetian » 27 Aug 2017, 19:14
UPDATE (08/27/17): Forge for Android v1.6.2.004 has been released. It's a hotfix aiming at fixing the crashing issue on startup for users who started experiencing it around 1.6.2.002 - 1.6.2.003.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Forge for Android v1.6.2.004
by Mantoku » 27 Aug 2017, 19:55
Got this update today, and now forge won't open.Agetian wrote:UPDATE (08/27/17): Forge for Android v1.6.2.004 has been released. It's a hotfix aiming at fixing the crashing issue on startup for users who started experiencing it around 1.6.2.002 - 1.6.2.003.
- Agetian
Re: Forge for Android v1.6.2.004
by Kawashy » 28 Aug 2017, 00:24
Thank you, Agetian. The previous version was not working and now everything is normal.
Re: Forge for Android v1.6.2.004
by Agetian » 28 Aug 2017, 03:54
After trying to launch Forge, please post the contents of your Forge.log for examination (it's in the "data" subfolder of your Forge installation).Mantoku wrote:Got this update today, and now forge won't open.Agetian wrote:UPDATE (08/27/17): Forge for Android v1.6.2.004 has been released. It's a hotfix aiming at fixing the crashing issue on startup for users who started experiencing it around 1.6.2.002 - 1.6.2.003.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Forge for Android v1.6.2.004
by Mantoku » 28 Aug 2017, 04:53
Forge force closes as soon as I tap to open it. So I can't access the data sub folder.Agetian wrote:After trying to launch Forge, please post the contents of your Forge.log for examination (it's in the "data" subfolder of your Forge installation).Mantoku wrote:Got this update today, and now forge won't open.Agetian wrote:UPDATE (08/27/17): Forge for Android v1.6.2.004 has been released. It's a hotfix aiming at fixing the crashing issue on startup for users who started experiencing it around 1.6.2.002 - 1.6.2.003.
- Agetian
- Agetian
Re: Forge for Android v1.6.2.004
by kevlahnota » 28 Aug 2017, 05:44
He meant open your SDCARD directory(where the default installation of forge) and look for forge.log in /Forge/data/Mantoku wrote:
Forge force closes as soon as I tap to open it. So I can't access the data sub folder.
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: Forge for Android v1.6.2.004
by Mantoku » 28 Aug 2017, 05:51
It won't let me open that file. Says "can't open file"kevlahnota wrote:He meant open your SDCARD directory(where the default installation of forge) and look for forge.log in /Forge/data/Mantoku wrote:
Forge force closes as soon as I tap to open it. So I can't access the data sub folder.
Re: Forge for Android v1.6.2.004
by Agetian » 28 Aug 2017, 05:59
Try renaming it to .txt (Forge.txt), it's likely to open then.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Forge for Android v1.6.2.004
by Mantoku » 28 Aug 2017, 06:23
That got it, thanks.Agetian wrote:Try renaming it to .txt (Forge.txt), it's likely to open then.
- Agetian
- | Open
- (ThreadUtil first call): Running on a machine with 4 cpu core(s)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6892)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1048)
at android.view.View.requestLayout(View.java:19781)
at android.view.View.setLayoutParams(View.java:13330)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:365)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:99)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2867)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:1127)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:2940)
at android.view.Window.setFlags(Window.java:1104)
at android.view.Window.addFlags(Window.java:1062)
at forge.app.Main$AndroidAdapter$3.run(Main.java:238)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:415)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1548)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1259)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6892)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1048)
at android.view.View.requestLayout(View.java:19781)
at android.view.View.setLayoutParams(View.java:13330)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:365)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:99)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2867)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:1127)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:2940)
at android.view.Window.setFlags(Window.java:1104)
at android.view.Window.clearFlags(Window.java:1078)
at forge.app.Main$AndroidAdapter$3.run(Main.java:241)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:415)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1548)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1259)
EDT > java.lang.RuntimeException: Unable to pause activity {forge.app/forge.app.Main}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean forge.properties.PreferencesStore.getPrefBoolean(java.lang.Enum)' on a null object reference
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3752)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3718)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3692)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3666)
at android.app.ActivityThread.-wrap16(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1490)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean forge.properties.PreferencesStore.getPrefBoolean(java.lang.Enum)' on a null object reference
at forge.app.Main.onPause(Main.java:87)
at android.app.Activity.performPause(Activity.java:6822)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1322)
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3741)
... 11 more
Re: Forge for Android v1.6.2.004
by Agetian » 28 Aug 2017, 14:10
Hmmm, that's what the latest build (1.6.2.004) was aiming to fix, and at least a couple people reported in that it did the trick for them... Can you please try redownloading the latest APK from the first post of this thread, installing it, and then seeing if that fixes it for you?
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Forge for Android v1.6.2.004
by Mantoku » 28 Aug 2017, 16:49
That fixed it. Thanks!Agetian wrote:Hmmm, that's what the latest build (1.6.2.004) was aiming to fix, and at least a couple people reported in that it did the trick for them... Can you please try redownloading the latest APK from the first post of this thread, installing it, and then seeing if that fixes it for you?
- Agetian
Re: Forge for Android v1.6.2.004
by jrrkein » 29 Aug 2017, 03:36
Somehow this version keeps getting stuck to "finishing startup" and i cant get it to load
- jrrkein
- Posts: 19
- Joined: 03 Aug 2016, 09:59
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge for Android v1.6.2.004
by Agetian » 29 Aug 2017, 03:47
Please post the contents of your Forge.log for analysis (you can find it in the "data" folder of your Forge installation).
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Who is online
Users browsing this forum: No registered users and 13 guests