-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
numpy recipe bug arm64-v8a #1873
Comments
Saw same issue with 64 bit (but not 32 bit) numpy build. The numpy release notes https://github.com/numpy/numpy/releases contain the following under release 1.16.0
and later
This might be saying ARM 64 bit support added? Perhaps the issue is related to defaulting to 1.15.1 ? Tried requirements numpy==1.16.0 but this gives a build (fix-numpy.patch) error. |
One more info, not sure if it is relevant though: if you put numpy on
buildozer requirements only, not importing it on main py file, the apk gets
built and deployed correctly. At the moment you write 'import numpy as np'
for instance, the appk gets built but crashes for deployment, as described
previously.
Did anyone come with an idea for this bug ?
Otherwise, numpy is useless and cannot be used with kivy, since google play
accepts just the amr64bit in which it doesn't work currently.
Cheers,
MM
…On Wed, Jun 19, 2019 at 1:52 AM Ham-Merhead ***@***.***> wrote:
Saw same issue with 64 bit (but not 32 bit) numpy build.
The numpy release notes https://github.com/numpy/numpy/releases contain
the following under release 1.16.0
*Highlight*
Improved support for the ARM
and later
*ARM support updated*
Support for ARM CPUs has been updated to accommodate 32 and 64 bit targets,
and also big and little endian byte ordering. AARCH32 memory alignment
issues
have been addressed. CI testing has been expanded to include AARCH64
targets
via the services of shippable.com.
This might be saying ARM 64 bit support added? Perhaps the issue is
related to defaulting to 1.15.1 ?
Tried requirements numpy==1.16.0 but this gives a build (fix-numpy.patch)
error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUB6YV4KWUDTGM4QG53P3FYNLA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYAI7RI#issuecomment-503353285>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUEGJ4QZ52MNNNVZRYLP3FYNLANCNFSM4HZEESNQ>
.
|
@Ham-Merhead Thanks for the note, it looks like updating to numpy 1.16.0 is probably the obvious thing worth trying. |
@inclement |
Hey guys, how is the procedure to try that fix ?
…On Thu, Jun 20, 2019, 10:39 PM Ham-Merhead ***@***.***> wrote:
@inclement <https://github.com/inclement>
Been trying to build numpy 1.16.4 using the p4a-recipes directory
Issues with fix-numpy.patch , and python-fixes.patch , other patches are OK
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUHJRU6F3V2DXI547UDP3PTG7A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYGRNQY#issuecomment-504174275>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUCGGD2ZWGCY5OCOYT3P3PTG7ANCNFSM4HZEESNQ>
.
|
@musarra You'll need to try what @Ham-Merhead mentioned, updating the patches as necessary for numpy 1.16. This isn't that hard, but may be tricky to get into if you aren't familiar with it. I'll try to look at this at the weekend, I actually have a 64 bit phone now to test on. |
Hey Alexander,
ok, I know I'm kind of beginner in programming but whatever help you need
(with some hints of course) I'm glad to do it.
cheers,
MM
…On Thu, Jun 20, 2019, 11:26 PM Alexander Taylor ***@***.***> wrote:
@musarra <https://github.com/musarra> You'll need to try what @Ham-Merhead
<https://github.com/Ham-Merhead> mentioned, updating the patches as
necessary for numpy 1.16. This isn't that hard, but may be tricky to get
into if you aren't familiar with it.
I'll try to look at this at the weekend, I actually have a 64 bit phone
now to test on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUAYW2YHQ6KMOAYKO43P3PYXZA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYGZG2Y#issuecomment-504206187>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUDAVTF7FLQ3ZTPIVR3P3PYXZANCNFSM4HZEESNQ>
.
|
By the way guys, I think is not worth it to open another bug tag, but in my simple HelloWorld android app, if I set py file to 'import matplotlib.pyplot as plt' and buildozer.spec to 'requirements = python3,kivy,matplotlib' it does not build the apk and the error message is below. Guess what? is related to numpy....
|
Some progress, but still stuff to figure out: For 1.16.4 in the patches list I
However the build fails Don't know why aarch64-linux-android-ld is not found, except that I cant find it in python-for-android/build . @musarra This works for p4a , Buildozer I don't know about:
p4a will build numpy from these local instructions in place of the default instructions. (To check it is really building from there, insert a typo so the build fails!) See if you can make some progress.... |
Hi Ham-Merhead,
So, I was still not able to deploy. Actually, after building the apk I
tried to use AndroidStudio, not sure if there's another way, please let me
know.
I never used p4a so, thanks for Alexander's guide, which was very helpful.
Below what I could achieve:
*1st try:*
1) downloaded 'command line tools only' for Linux from:
https://developer.android.com/studio/index.html#downloads
2) created a folder in /home/p4asdk and extracted the zip file in it
3) on main terminal, executed: /home/musarra/p4asdk/tools/bin/sdkmanager
"platforms;android-28"
4) on main terminal, executed: /home/musarra/p4asdk/tools/bin/sdkmanager
--list
5) found out most updated 'building tools' = 29.0.0
6) on main terminal, executed: /home/musarra/p4asdk/tools/bin/sdkmanager
"build-tools;29.0.0"
7) on app directory, created:
/home/musarra/Documents/pyprojects/uface/p4a-recipes
8) downloaded from ginthub: https://github.com/plapadoo/p4a-numpy #this
seems to be a workaround to try to fix the issue.
9) copied and extracted the zip file on 8) to dir on 7): dir name:
p4a-numpy-master
10) ran terminal on app dir /home/musarra/Documents/pyprojects/uface and
executed: export
P4A_numpy_DIR=/home/musarra/Documents/pyprojects/uface/p4a-recipes/p4a-numpy-master
11) copied dir 'numpy' inside main dir 'p4a-numpy-master', removing dir
'recipe'
12) ran temrinal on app dir and executed: p4a apk --private
/home/musarra/Documents/pyprojects/uface --package=org.example.myapp --name
"uface" --version 0.1 --bootstrap=sdl2 --requirements=python3,kivy,numpy
--arch=arm64-v8a --android_api=28 --sdk_dir /home/musarra/p4asdk
13) apk was built, tried to run it & deploy on android-studio (maybe
there's another way to do it)
error:
E/g.example.myap: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.example.myapp, PID: 31114
java.lang.UnsatisfiedLinkError: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
at org.libsdl.app.SDLActivity.nativeSetEnv(Native Method)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:176)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:121)
at android.os.AsyncTask.finish(AsyncTask.java:695)
at android.os.AsyncTask.access$600(AsyncTask.java:180)
at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
I/Process: Sending signal. PID: 31114 SIG: 9
Application terminated.
*2n try:*
1) replaced the 'numpy' dir for the one you made available, inside dir
'p4a-numpy-master'
2) repeated 12)
error
06/22 13:18:50: Launching unnamed_dist_1-0.1-debug
No apk changes detected since last installation, skipping installation of
/home/musarra/ApkProjects/unnamed_dist_1-0.1-debug/unnamed_dist_1-0.1-debug.apk
$ adb shell am force-stop org.example.myapp
$ adb shell am start -n "org.example.myapp/org.kivy.android.PythonActivity"
-a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Waiting for process to come online
Connected to process 1373 on device samsung-sm_g950f-ce051715b92f7c3902
Capturing and displaying logcat messages from application. This behavior
can be disabled in the "Logcat output" section of the "Debugger" settings
page.
E/Zygote: isWhitelistProcess - Process is Whitelisted
E/Zygote: accessInfo : 1
I/g.example.myap: Late-enabling -Xcheck:jni
D/vndksupport: Loading /vendor/lib64/egl/libGLES_mali.so from current
namespace instead of sphal namespace.
D/libEGL: loaded /vendor/lib64/egl/libGLES_mali.so
V/PythonActivity: PythonActivity onCreate running
About to do super onCreate
V/SDL: Device: dreamlte
Model: SM-G950F
onCreate()
V/PythonActivity: Did super onCreate
V/SDL: getting identifier
V/SDL: kind is drawable and name presplash
result is 2130771970
V/SDL: asked to get string presplash_color
getting identifier
kind is string and name presplash_color
result is 2130968577
I/DecorView: createDecorCaptionView >> DecorView@f920ed6[], isFloating:
false, isApplication: true, hasWindowDecorCaption: false,
hasWindowControllerCallback: true
V/PythonActivity: Ready to unpack
UNPACKING!!! private app
V/SDL: asked to get string private_version
getting identifier
kind is string and name private_version
result is 2130968578
V/PythonActivity: Data version is 1561202163.4980905
V/PythonActivity: onResume()
V/SDL: onResume()
D/OpenGLRenderer: Skia GL Pipeline
D/EmergencyMode: [EmergencyManager] android createPackageContext successful
D/InputTransport: Input channel constructed: fd=57
D/ViewRootImpl@e3a4ff3[PythonActivity]: setView =
DecorView@f920ed6[PythonActivity]
TM=true MM=false
W/System.err: Attempt to get length of null array
D/Dialog: mIsSamsungBasicInteraction = false
mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
I/DecorView: createDecorCaptionView >> DecorView@c2244b0[], isFloating:
true, isApplication: true, hasWindowDecorCaption: false,
hasWindowControllerCallback: false
D/ScrollView: initGoToTop
D/InputTransport: Input channel constructed: fd=60
D/ViewRootImpl@faa876a[PythonActivity]: setView =
DecorView@c2244b0[PythonActivity]
TM=true MM=false
E/g.example.myap: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.example.myapp, PID: 1373
java.lang.UnsatisfiedLinkError: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
at org.libsdl.app.SDLActivity.nativeSetEnv(Native Method)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:176)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:121)
at android.os.AsyncTask.finish(AsyncTask.java:695)
at android.os.AsyncTask.access$600(AsyncTask.java:180)
at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Application terminated.
…On Sat, Jun 22, 2019 at 3:31 AM Ham-Merhead ***@***.***> wrote:
Some progress, but still stuff to figure out:
For 1.16.4 in the patches list I
1. commented fix-numpy.patch -- because I have no understanding of the
test methodology
2. built a new python-fixes.patch (attached) -- no judgement here,
just doing the same thing as before
python-fixes.zip
<https://github.com/kivy/python-for-android/files/3316406/python-fixes.zip>
However the build fails
error: Command "aarch64-linux-android-ld ............... failed with exit
status 127
Don't know why aarch64-linux-android-ld is not found, except that I cant
find it in python-for-android/build .
@musarra <https://github.com/musarra> This works for p4a , Buildozer I
don't know about:
1. Create a directory "p4a-recipes" in your project directory
2. copy p4a numpy recipe there from github
3. replace python-fixes.patch with the one attached
4. Edit __init__.py
a) change version
b) comment line containing 'fix-numpy.patch'
c) change 'patches' in the following 4 lines to an absolute path e.g.
'/usr/me/stuff/patches' (or whatever)
p4a will build numpy from these local instructions in place of the default
instructions. (To check it is really building from there, insert a typo so
the build fails!)
See if you can make some progress....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUCGTW4JLYPHTJRB4ZTP3V6GPA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYJ5F7A#issuecomment-504615676>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUDUEACR4IKLBFKTK43P3V6GPANCNFSM4HZEESNQ>
.
|
Hey guys,
Any feedback on this?
Have any of you been successful on compiling numpy (and matplotlib which
requires numpy)?
…On Sat, Jun 22, 2019, 1:28 PM Marcello Musarra ***@***.***> wrote:
Hi Ham-Merhead,
So, I was still not able to deploy. Actually, after building the apk I
tried to use AndroidStudio, not sure if there's another way, please let me
know.
I never used p4a so, thanks for Alexander's guide, which was very helpful.
Below what I could achieve:
*1st try:*
1) downloaded 'command line tools only' for Linux from:
https://developer.android.com/studio/index.html#downloads
2) created a folder in /home/p4asdk and extracted the zip file in it
3) on main terminal, executed: /home/musarra/p4asdk/tools/bin/sdkmanager
"platforms;android-28"
4) on main terminal, executed: /home/musarra/p4asdk/tools/bin/sdkmanager
--list
5) found out most updated 'building tools' = 29.0.0
6) on main terminal, executed: /home/musarra/p4asdk/tools/bin/sdkmanager
"build-tools;29.0.0"
7) on app directory, created:
/home/musarra/Documents/pyprojects/uface/p4a-recipes
8) downloaded from ginthub: https://github.com/plapadoo/p4a-numpy #this
seems to be a workaround to try to fix the issue.
9) copied and extracted the zip file on 8) to dir on 7): dir name:
p4a-numpy-master
10) ran terminal on app dir /home/musarra/Documents/pyprojects/uface and
executed: export
P4A_numpy_DIR=/home/musarra/Documents/pyprojects/uface/p4a-recipes/p4a-numpy-master
11) copied dir 'numpy' inside main dir 'p4a-numpy-master', removing dir
'recipe'
12) ran temrinal on app dir and executed: p4a apk --private
/home/musarra/Documents/pyprojects/uface --package=org.example.myapp --name
"uface" --version 0.1 --bootstrap=sdl2 --requirements=python3,kivy,numpy
--arch=arm64-v8a --android_api=28 --sdk_dir /home/musarra/p4asdk
13) apk was built, tried to run it & deploy on android-studio (maybe
there's another way to do it)
error:
E/g.example.myap: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.example.myapp, PID: 31114
java.lang.UnsatisfiedLinkError: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
at org.libsdl.app.SDLActivity.nativeSetEnv(Native Method)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:176)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:121)
at android.os.AsyncTask.finish(AsyncTask.java:695)
at android.os.AsyncTask.access$600(AsyncTask.java:180)
at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
I/Process: Sending signal. PID: 31114 SIG: 9
Application terminated.
*2n try:*
1) replaced the 'numpy' dir for the one you made available, inside dir
'p4a-numpy-master'
2) repeated 12)
error
06/22 13:18:50: Launching unnamed_dist_1-0.1-debug
No apk changes detected since last installation, skipping installation of
/home/musarra/ApkProjects/unnamed_dist_1-0.1-debug/unnamed_dist_1-0.1-debug.apk
$ adb shell am force-stop org.example.myapp
$ adb shell am start -n
"org.example.myapp/org.kivy.android.PythonActivity" -a
android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Waiting for process to come online
Connected to process 1373 on device samsung-sm_g950f-ce051715b92f7c3902
Capturing and displaying logcat messages from application. This behavior
can be disabled in the "Logcat output" section of the "Debugger" settings
page.
E/Zygote: isWhitelistProcess - Process is Whitelisted
E/Zygote: accessInfo : 1
I/g.example.myap: Late-enabling -Xcheck:jni
D/vndksupport: Loading /vendor/lib64/egl/libGLES_mali.so from current
namespace instead of sphal namespace.
D/libEGL: loaded /vendor/lib64/egl/libGLES_mali.so
V/PythonActivity: PythonActivity onCreate running
About to do super onCreate
V/SDL: Device: dreamlte
Model: SM-G950F
onCreate()
V/PythonActivity: Did super onCreate
V/SDL: getting identifier
V/SDL: kind is drawable and name presplash
result is 2130771970
V/SDL: asked to get string presplash_color
getting identifier
kind is string and name presplash_color
result is 2130968577
I/DecorView: createDecorCaptionView >> ***@***.***[], isFloating:
false, isApplication: true, hasWindowDecorCaption: false,
hasWindowControllerCallback: true
V/PythonActivity: Ready to unpack
UNPACKING!!! private app
V/SDL: asked to get string private_version
getting identifier
kind is string and name private_version
result is 2130968578
V/PythonActivity: Data version is 1561202163.4980905
V/PythonActivity: onResume()
V/SDL: onResume()
D/OpenGLRenderer: Skia GL Pipeline
D/EmergencyMode: [EmergencyManager] android createPackageContext successful
D/InputTransport: Input channel constructed: fd=57
***@***.***[PythonActivity]: setView = ***@***.***[PythonActivity]
TM=true MM=false
W/System.err: Attempt to get length of null array
D/Dialog: mIsSamsungBasicInteraction = false
mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
I/DecorView: createDecorCaptionView >> ***@***.***[], isFloating:
true, isApplication: true, hasWindowDecorCaption: false,
hasWindowControllerCallback: false
D/ScrollView: initGoToTop
D/InputTransport: Input channel constructed: fd=60
***@***.***[PythonActivity]: setView = ***@***.***[PythonActivity]
TM=true MM=false
E/g.example.myap: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.example.myapp, PID: 1373
java.lang.UnsatisfiedLinkError: No implementation found for void
org.libsdl.app.SDLActivity.nativeSetEnv(java.lang.String, java.lang.String)
(tried Java_org_libsdl_app_SDLActivity_nativeSetEnv and
Java_org_libsdl_app_SDLActivity_nativeSetEnv__Ljava_lang_String_2Ljava_lang_String_2)
at org.libsdl.app.SDLActivity.nativeSetEnv(Native Method)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:176)
at
org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:121)
at android.os.AsyncTask.finish(AsyncTask.java:695)
at android.os.AsyncTask.access$600(AsyncTask.java:180)
at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Application terminated.
On Sat, Jun 22, 2019 at 3:31 AM Ham-Merhead ***@***.***>
wrote:
> Some progress, but still stuff to figure out:
>
> For 1.16.4 in the patches list I
>
> 1. commented fix-numpy.patch -- because I have no understanding of
> the test methodology
> 2. built a new python-fixes.patch (attached) -- no judgement here,
> just doing the same thing as before
> python-fixes.zip
> <https://github.com/kivy/python-for-android/files/3316406/python-fixes.zip>
>
> However the build fails
> error: Command "aarch64-linux-android-ld ............... failed with exit
> status 127
>
> Don't know why aarch64-linux-android-ld is not found, except that I cant
> find it in python-for-android/build .
>
> @musarra <https://github.com/musarra> This works for p4a , Buildozer I
> don't know about:
>
> 1. Create a directory "p4a-recipes" in your project directory
> 2. copy p4a numpy recipe there from github
> 3. replace python-fixes.patch with the one attached
> 4. Edit __init__.py
> a) change version
> b) comment line containing 'fix-numpy.patch'
> c) change 'patches' in the following 4 lines to an absolute path e.g.
> '/usr/me/stuff/patches' (or whatever)
>
> p4a will build numpy from these local instructions in place of the
> default instructions. (To check it is really building from there, insert a
> typo so the build fails!)
>
> See if you can make some progress....
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1873?email_source=notifications&email_token=AMMHPUCGTW4JLYPHTJRB4ZTP3V6GPA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYJ5F7A#issuecomment-504615676>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMMHPUDUEACR4IKLBFKTK43P3V6GPANCNFSM4HZEESNQ>
> .
>
|
I've tried, it didn't work...commented in #1722 below.
Yn Mon, Jun 24, 2019, 10:00 PM Alexander Taylor <[email protected]>
wrote:
… @opacam <https://github.com/opacam> Mentioned that it worked in a 64 bit
build with ndk 19, in #1722
<#1722>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUBVQ4DPANPZGPGUY73P4ERWPA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOBNUQ#issuecomment-505157330>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUB3HQGYNMSQIUZBSUDP4ERWPANCNFSM4HZEESNQ>
.
|
@musarra
And after a while it fails (as expected):
|
Anyone with further ideas for this issue?
Anyone has a prediction on timeframe to get numpy and matplotlib acceptable
in kivy apps for android ?
Glad to help, if I can! Cheers, MM
…On Tue, Jun 25, 2019, 2:28 AM Ham-Merhead ***@***.***> wrote:
@musarra <https://github.com/musarra>
I don't think Buildozer supports 19 yet (read the comments further up
#1722 <#1722> ).
I tried 19c with p4a (64 bit target), I get this message:
[INFO]: Found NDK revision 19.2.5345600
[WARNING]: Maximum recommended NDK version is 17c
[WARNING]: Newer NDKs may not be fully supported by p4a.
And after a while it fails (as expected):
[ERROR]: Build failed: Couldn't find executable for CC. This indicates a
problem locating the aarch64-linux-android-gcc executable in the Android
NDK, not that you don't have a normal compiler installed. Exiting.
aarch64-linux-android-gcc is not part of 19c , and p4a/Bulldozer tool
flow changes (in this case to clang) are required for 19. So I would say
for the moment we cant get there from here (via NDK 19). However NDK 19
looks like it will be a future route.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUACTAGZXXV5DHECE63P4FRB7A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOTFVI#issuecomment-505230037>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUHQGCVXOGPHXMOPNADP4FRB7ANCNFSM4HZEESNQ>
.
|
I've been experimenting with a numpy 1.16.4 recipe, but fighting some weird linker errors at the moment. I also don't know if this will fix the problem. |
Is there any tutorial on how to write a recipe ? maybe I could also try to
help once I understand it better....
…On Wed, Jun 26, 2019, 11:16 PM Alexander Taylor ***@***.***> wrote:
I've been experimenting with a numpy 1.16.4 recipe, but fighting some
weird linker errors at the moment. I also don't know if this will fix the
problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUD7MMCSG5DVFUBZJ23P4PMBTA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYU244A#issuecomment-506048112>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUATEZSLTITFX6DQATLP4PMBTANCNFSM4HZEESNQ>
.
|
Never mind, I found this link
https://python-for-android.readthedocs.io/en/latest/recipes/
Will read it. Suggestions are welcome.
…On Wed, Jun 26, 2019, 11:41 PM Marcello Musarra ***@***.***> wrote:
Is there any tutorial on how to write a recipe ? maybe I could also try to
help once I understand it better....
On Wed, Jun 26, 2019, 11:16 PM Alexander Taylor ***@***.***>
wrote:
> I've been experimenting with a numpy 1.16.4 recipe, but fighting some
> weird linker errors at the moment. I also don't know if this will fix the
> problem.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1873?email_source=notifications&email_token=AMMHPUD7MMCSG5DVFUBZJ23P4PMBTA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYU244A#issuecomment-506048112>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMMHPUATEZSLTITFX6DQATLP4PMBTANCNFSM4HZEESNQ>
> .
>
|
There's some doc at https://python-for-android.readthedocs.io/en/latest/recipes/, but mostly the existing recipes and code are the documentation. I've been meaning to write something about it, but for something like numpy you'll tend to have to work through compilation issues that aren't easily documented so there's a limit to what a tutorial can do. |
Yeah I see what you mean. Anyway, if I can understand the basics and the
logic behind it maybe I can try to help on the thinking part of it.
Let me go through it...maybe a tip would be how to test it, once is
written...
…On Wed, Jun 26, 2019, 11:49 PM Alexander Taylor ***@***.***> wrote:
There's some doc at
https://python-for-android.readthedocs.io/en/latest/recipes/, but mostly
the existing recipes and code are the documentation. I've been meaning to
write something about it, but for something like numpy you'll tend to have
to work through compilation issues that aren't easily documented so there's
a limit to what a tutorial can do.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUA6C64FOO5DZGEPKR3P4PP63A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYU5L7A#issuecomment-506058236>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUEQJ7I6MD2BDRI6A53P4PP63ANCNFSM4HZEESNQ>
.
|
I got 1.16.4 working and seems to run fine under armeabi-v7a and arm64-v8a. PR at #1892 for reference but it's in an untidy half-finished state right now. I'll finish it within the next few days. |
Super thanks Alexander for doing that!! ;)
…On Thu, Jun 27, 2019, 12:00 AM Alexander Taylor ***@***.***> wrote:
I got 1.16.4 working, PR at #1892
<#1892> for reference but
it's in an untidy half-finished state right now. I'll finish it within the
next few days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUBXC6YFC74FCKVTCC3P4PRHFA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYU6B4Y#issuecomment-506061043>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUH2DMRQK5GHZVNV5HTP4PRHFANCNFSM4HZEESNQ>
.
|
Wow congrats man, it really looks complicated ! great job ;)
…On Thu, Jun 27, 2019, 12:05 AM Marcello Musarra ***@***.***> wrote:
Super thanks Alexander for doing that!! ;)
On Thu, Jun 27, 2019, 12:00 AM Alexander Taylor ***@***.***>
wrote:
> I got 1.16.4 working, PR at #1892
> <#1892> for reference but
> it's in an untidy half-finished state right now. I'll finish it within the
> next few days.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1873?email_source=notifications&email_token=AMMHPUBXC6YFC74FCKVTCC3P4PRHFA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYU6B4Y#issuecomment-506061043>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMMHPUH2DMRQK5GHZVNV5HTP4PRHFANCNFSM4HZEESNQ>
> .
>
|
Could you give some insight on how to make this work using buildozer or p4a
please?
I've tried on both, but neither worked still...
…On Sat, Jun 29, 2019 at 6:43 PM Alexander Taylor ***@***.***> wrote:
Closed #1873 <#1873> via
#1892 <#1892>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUHKX4UBTTTZIDYR6TLP46GJ3A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSH4P4SI#event-2449014345>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUCRYAOKO3OQZXODIZDP46GJ3ANCNFSM4HZEESNQ>
.
|
@musarra This won't be in the release branch that buildozer uses for a while, you need to use p4a master or set the p4a.branch in buildozer.spec to |
@taylor I just set p4a.branch to *develop *in my HelloWorld and it worked
fine, no crash ! I will try the same with my app now. What an achievement,
thanks !!
Just for curiosity (maybe is something people are working on and I am also
very interested to use matplotlib):
I've tried to include on py: *import matplotlib.pyplot as plt*
added *matplotlib* in buildozer requirements
p4a.branch to *develop*
got this error:
[INFO]: Building matplotlib for arm64-v8a
[INFO]: matplotlib apparently isn't already in site-packages
[INFO]: Building compiled components in matplotlib
[INFO]: -> directory context
/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/other_builds/matplotlib-python3/arm64-v8a__ndk_target_21/matplotlib
[INFO]: -> running python setup.py build_ext -v
Exception in thread background thread for pid 23103:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.14-py2.7.egg/sh.py",
line 1540, in wrap
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.14-py2.7.egg/sh.py",
line 2459, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.14-py2.7.egg/sh.py",
line 2157, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.14-py2.7.egg/sh.py",
line 815, in handle_command_exit_code
raise exc
ErrorReturnCode_1:
RAN:
/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/python
setup.py build_ext -v
STDOUT:
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [3.0.3]
python: yes [3.7.1 (default, Jun 29 2019, 22:02:34) [GCC
7.4.0]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [not found. pip may install it below.]
install_requires: yes [handled by setuptools]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 2.8.1]
png: yes [version 1.6.34]
qhull: yes [pkg-config information for 'libqhull' could not
be found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: no [skipping due to configuration]
toolkits: yes [installing]
tests: no [skipping due to configuration]
toolkits_tests: no [skipping due to configuration]
OPTIONAL BACKEND EXTENSIONS
agg: yes [installing]
tkagg: no [Disabled by patching during Android build]
macosx: no [skipping due to configuration]
windowing: no [skipping due to configuration]
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
Download error on https://pypi.org/simple/numpy/: unknown url type: https
-- Some packages may not be found!
Couldn't find index page for 'numpy' (maybe misspelled?)
Download error on https://pypi.org/simple/: unknown url type: https -- Some
packages may not be found!
No local packages or working download links found for numpy==1.16.4
…On Sat, Jun 29, 2019 at 9:44 PM Alexander Taylor ***@***.***> wrote:
@musarra <https://github.com/musarra> This won't be in the release branch
that buildozer uses for a while, you need to use p4a master or set the
p4a.branch in buildozer.spec to develop. If you already did that, please
post the log.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUBC5DHC6S54SECCGZ3P463Q7A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3673I#issuecomment-506982381>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUER5VBZOYI2XRNLU7TP463Q7ANCNFSM4HZEESNQ>
.
|
The matplotlib issue is probably environment related somehow, openssl is probably missing in the local python build. I'm not sure about the details though, I don't know what's different about my local env (which works okay). There's another issue open to track this. |
Strange is why that numpy error shows up on the log....looks like a
misspelled url ?
…On Sat, Jun 29, 2019 at 11:15 PM Alexander Taylor ***@***.***> wrote:
The matplotlib issue is probably environment related somehow, openssl is
probably missing in the local python build. I'm not sure about the details
though, I don't know what's different about my local env (which works
okay). There's another issue open to track this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUGO3IYKPMSL5JB224LP47GIHA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4AJEA#issuecomment-506987664>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUCWPES3QWFVR2DMPOTP47GIHANCNFSM4HZEESNQ>
.
|
No it's definitely what @inclement said. The system doesn't have socket or other lib build with ssl support hence |
I've just tried to compile with requirements python3==3.7.1, same issue.
Would you suggest me some additional package installation?
…On Sat, Jun 29, 2019, 11:54 PM Andre Miras ***@***.***> wrote:
No it's definitely what @inclement <https://github.com/inclement> said.
The system doesn't have socket or other lib build with ssl support hence
https schema not supported
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUDP5ARSEZHL4XPARHTP47KZZA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4AZQI#issuecomment-506989761>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUDT7DA52Q7VTM4WEDDP47KZZANCNFSM4HZEESNQ>
.
|
I would suggest to make sure your system libs are not broken https://stackoverflow.com/questions/28376506/urllib-https-request-urlopen-error-unknown-url-type-https |
Sorry, maybe this is a bit advanced for me. Could you detail a bit more
what I could do please ? Shall I uninstall python3 then run pip install
--user python3 ?
I have also checked on python.org, there's a 3.7.4 version.
That link takes to another link http.client, which honestly, I didn't
understand too much...
…On Sun, Jun 30, 2019 at 12:13 AM Andre Miras ***@***.***> wrote:
I would suggest to make sure your system libs are not broken
https://stackoverflow.com/questions/28376506/urllib-https-request-urlopen-error-unknown-url-type-https
This comes outside p4a to me. By the way it seems like your run p4a from
python2, plus some of the deps (e.g. sh) were installed via sudo pip
install which I would not recommend. I would recommend using pip install
--user instead, that way it's easy to wipe out everything if you ever
mess with your deps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUFGBIF2VD6WOLOGY53P47M65A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4BBZA#issuecomment-506990820>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUDMDDNOY2254BI234TP47M65ANCNFSM4HZEESNQ>
.
|
Hey guys, you were right. I figure it out just doing *$ apt install
python3-openss*
The app was built with buildozer with no problems and also deployed on
Android with no crashes
Any tips on how to use matplotlib ? which widget shall I use to show graphs
?
Will play with it now and find out....thanks a lot :)
On Sun, Jun 30, 2019 at 12:39 AM Marcello Musarra <[email protected]>
wrote:
… Sorry, maybe this is a bit advanced for me. Could you detail a bit more
what I could do please ? Shall I uninstall python3 then run pip install
--user python3 ?
I have also checked on python.org, there's a 3.7.4 version.
That link takes to another link http.client, which honestly, I didn't
understand too much...
On Sun, Jun 30, 2019 at 12:13 AM Andre Miras ***@***.***>
wrote:
> I would suggest to make sure your system libs are not broken
> https://stackoverflow.com/questions/28376506/urllib-https-request-urlopen-error-unknown-url-type-https
> This comes outside p4a to me. By the way it seems like your run p4a from
> python2, plus some of the deps (e.g. sh) were installed via sudo pip
> install which I would not recommend. I would recommend using pip install
> --user instead, that way it's easy to wipe out everything if you ever
> mess with your deps
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1873?email_source=notifications&email_token=AMMHPUFGBIF2VD6WOLOGY53P47M65A5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4BBZA#issuecomment-506990820>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMMHPUDMDDNOY2254BI234TP47M65ANCNFSM4HZEESNQ>
> .
>
|
Glad you could solve it only installing some system deps. |
Thanks Andre, I pretty know how to use it, just not sure how to use it with
kivy for Android. But will dig into it, don't worry !
Enjoy the weekend ;)
…On Sun, Jun 30, 2019 at 1:11 PM Andre Miras ***@***.***> wrote:
Glad you could solve it only installing some system deps.
As for how to use matplotlib, I've no clue, but you should check that from
their website or tutorial on the web.
Let's migrate support conversation to Discord then. Good luck!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1873?email_source=notifications&email_token=AMMHPUGQ35KMTPXSEBCXFETP5CIGNA5CNFSM4HZEESN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4KAZA#issuecomment-507027556>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMHPUE575XPVBM4QAO7P6LP5CIGNANCNFSM4HZEESNQ>
.
|
I see that makes sense. Well I've never played with it, but I'm sure you should find someone on Discord. |
I solve the problem and it's very simple, just add: numpy == 1.16.4 |
numpy 1.16.4 is the current default, as of a few months ago. |
This does not work for me |
Versions
Description
// REPLACE ME: What are you trying to get done, what has happened, what went wrong, and what did you expect?
Google Play does not support 32 bit libraries and the armeabi-v7a cannot be used. This means the apk I created and worked for months could not be uploaded. I tried to fix that issue changing the architecture to 64 bit arm64-v8a. Problem is that I have numpy in requirements and it has an issue with the recipe. The apk get's built but crashes immediately, it never opens.
I am not expert programmer but my suggestions to solve/check the issue looking to numpy recipe are:
I built a very simple HelloWorld app in kivy to demonstrate this issue below.
Command:
Logs
06/18 23:34:21: Launching hwtest-0.1-debug
$ adb shell am start -n "org.test.hwtest/org.kivy.android.PythonActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Waiting for process to come online
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/python: [INFO ] [Factory ] 184 symbols loaded
I/python: [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
I/python: Traceback (most recent call last):
File "/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/python-installs/hwtest/numpy/core/init.py", line 16, in
I/python: ImportError: dlopen failed: cannot locate symbol "__fixunstfsi" referenced by "/data/data/org.test.hwtest/files/app/_python_bundle/site-packages/numpy/core/multiarray.so"...
I/python: File "/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/python-installs/hwtest/numpy/init.py", line 142, in
File "/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/python-installs/hwtest/numpy/add_newdocs.py", line 13, in
File "/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/python-installs/hwtest/numpy/lib/init.py", line 8, in
I/python: File "/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/python-installs/hwtest/numpy/lib/type_check.py", line 11, in
File "/home/musarra/Documents/pyprojects/helloworld/.buildozer/android/platform/build/build/python-installs/hwtest/numpy/core/init.py", line 26, in
ImportError:
I/python: Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try
git clean -xdf
(removes allfiles not under version control). Otherwise reinstall numpy.
W/IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
W/org.test.hwtes: 0xebadde09 skipped times: 0
A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x184 in tid 26345 (org.test.hwtest), pid 26345 (org.test.hwtest)
Application terminated.
The text was updated successfully, but these errors were encountered: