Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after FragmentList.findViewById() returned null #19

Open
doudoulong opened this issue Jun 10, 2015 · 5 comments
Open

Crash after FragmentList.findViewById() returned null #19

doudoulong opened this issue Jun 10, 2015 · 5 comments
Labels

Comments

@doudoulong
Copy link

Hi,

I could not get Andiodine work on HTC EVO Design 4G. I find the CPU of HTC EVO is armv7 and current Andiodine verion only supports armeabi x86. Will it be possible to modify and recompile the source code to make it run on ARMv7? I am not a programmer so hopefully my question makes sense.

Thanks!

@yvesf
Copy link
Owner

yvesf commented Jun 11, 2015 via email

@doudoulong
Copy link
Author

Thanks for the quick reply.

There is no error message. After entering the server name and password
and returning back to save it, the app crashes immediately.

We just tested Andiodine on as many phones as possible. I think I was
wrong earlier. It's not the chip because Aniodine works on HTC One M8,
the processor of which is also armeabi-v7. And we found another phone
model on which it has the same problem, the Moto G 4G.

Lu

On 06/11/2015 05:00 AM, Yves wrote:

Hello,
as far as I know 'armeabi' is more generic than 'armeabi-v7'. Therefore
'armeabi' should run on your 'armeabi-v7' phone.
The build on f-droid.org
https://f-droid.org/repository/browse/?fdfilter=andiodine&fdid=org.xapek.andiodine

contains both armeabi and x86 binaries of the native library.
Please provide more information about your actual problem, are you are
getting a specific error message somewhere?
Kind regards,
Yves


Reply to this email directly or view it on GitHub
#19 (comment).

@doudoulong
Copy link
Author

Sorry, there is an error message:

"Unfortunately, andiodine has stopped."

@yvesf yvesf changed the title Recompile source code to run on armv7 CPU Crash on armv7 CPU Jun 14, 2015
@yvesf
Copy link
Owner

yvesf commented Jun 14, 2015

It's neccessary to have the actual error message. You can access android system logs using the 'logcat' tool via the debug bridge (adb). See here http://developer.android.com/tools/help/logcat.html
There are also android applications like 'alogcat' https://f-droid.org/repository/browse/?fdfilter=logcat&fdid=rs.pedjaapps.alogcatroot.app that show the log on the device (seems to require root to see logs from other applications), this should work as well.

@InternetFreedom
Copy link

The error message is:
06-15 13:36:06.246 11971-11971/org.xapek.andiodine W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x40ab6228)
06-15 13:36:06.266 11971-11971/org.xapek.andiodine E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.NullPointerException
at org.xapek.andiodine.FragmentList.onActivityCreated(FragmentList.java:128)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:849)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1034)
at android.app.BackStackRecord.run(BackStackRecord.java:622)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1384)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:428)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:4945)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)

@yvesf yvesf added bug and removed need-more-info labels Jun 15, 2015
@yvesf yvesf changed the title Crash on armv7 CPU Crash after FragmentList.findViewById() returned null Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants