damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

SL4A not working on Android 5.0 Lollipop #7

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

What device(s) are you experiencing the problem on?
Nexus 4
What firmware version are you running on the device?
Stock android 5.0 build number LRX21T
What steps will reproduce the problem?
1. Open built-in script notify_weather.py
2. Choose Save and Run from menu
3.

What is the expected output? What do you see instead?
Expected a notification with the weather. Got nothing.

What version of the product are you using? On what operating system?
SL4A version 6. Android 5.0 Lollipop.

Please provide any additional information below.

Original issue reported on code.google.com by jfvol...@gmail.com on 27 Nov 2014 at 1:04

Copied from original issue: damonkohler/android-scripting#711

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

Logcat ?

Original comment by anthony....@gmail.com on 27 Nov 2014 at 6:18

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

I am not sure how many of these lines are relevant.

Thanks

Felipe

W/FileUtils(25579): Failed to
chmod(/storage/emulated/0/sl4a/scripts/Full/gui-porrinha.py):
android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
W/FileUtils(25579): Failed to
chmod(/storage/emulated/0/sl4a/scripts/Full/gui-porrinha2.py):
android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
W/FileUtils(25579): Failed to chmod(/storage/emulated/0/sl4a/scripts/Full):
android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
W/FileUtils(25579): Failed to
chmod(/storage/emulated/0/sl4a/scripts/blood.py):
android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
W/CursorWrapperInner(25579): Cursor finalized without prior close()
W/CursorWrapperInner(25579): Cursor finalized without prior close()
W/CursorWrapperInner(25579): Cursor finalized without prior close()
W/CursorWrapperInner(25579): Cursor finalized without prior close()
W/CursorWrapperInner(25579): Cursor finalized without prior close()
W/CursorWrapperInner(25579): Cursor finalized without prior close()
V/sl4a.Process:115(25579): Executing /system/bin/logcat with arguments []
and with environment {}
 On Nov 27, 2014 12:18 AM, <android-scripting@googlecode.com> wrote:

Original comment by jfvol...@gmail.com on 27 Nov 2014 at 9:36

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

I am also having problems runnig SL4A on  Android 5.0 on Asus Nixus 7 tablet. I 
get no console,no error messages.Just a black screen. I do get a list of 
scripts. I do see python interpreter listed.

Any chance of this being fixed. I do  ot have the knowlege or skills to solve 
this problem.
Thanks

Original comment by dr.gbbro...@gmail.com on 1 Feb 2015 at 3:50

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

Hi All,

Any updates on this?
Any help with alternatives for running Python scripts on Lollipop or any 
pointers on how to fix this issue would be appreciated.
I am even willing to contribute on fixing this issue if anyone can tell me how 
to start.

Thanks
Nishanth

Original comment by nishanth...@gmail.com on 31 Mar 2015 at 12:43

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

Also having the same issue. No console for PY4A and all scripts crash. Starting 
a server also results in a port number but no IP address. 
Previously was working fine for me until I had to mess around reinstalling 
'supersu' which leads me to think it's permissions related. I don't know where 
to move from here however.

Original comment by ltos...@gmail.com on 22 May 2015 at 2:05