Comments (14)
[deleted comment]
from android-python27.
What's the Android version you've been using ?
I hit something like that once (java.lang.ClassNotFoundException), it was an
Eclipse/ADT problem where it messed up building properly the APK, you may hit
the same trouble. You can unzip the APK and check within if the class
com.android.python27.ScriptApplication exists or not, if not you would need to
delete the project, create it again and retry.
Original comment by [email protected]
on 28 May 2013 at 8:22
from android-python27.
Using newest Android 4.2.2
Original comment by [email protected]
on 28 May 2013 at 8:29
from android-python27.
So yes you're right the class is not in the APK but even after re-importing or
even using a whole new workspace I still get the same problem and its not
adding the class-files to the APK. But when I extract the sample PythonAPK.apk
from your site its also not including the class-file but its still working???
I'm very confused...
Original comment by [email protected]
on 28 May 2013 at 8:43
from android-python27.
[deleted comment]
from android-python27.
If you check with dex2jar (http://code.google.com/p/dex2jar/) the PythonAPK.apk
from this site you will find the class:
1. Unzip the APK
2. Run: d2j-dex2jar classes.dex, this will create classes-dex2jar.jar
3. Unzip classes-dex2jar.jar
4. Browse classes-dex2jar folder and check classes there (you can also use
jd-gui: http://java.decompiler.free.fr/?q=jdgui )
I'm not using the Eclispe ADT bundle provided by Google but regular Eclipse
J2EE Juno + ADT r21.1 (not the ADT r22 yet as seems still rather buggy).
Original comment by [email protected]
on 28 May 2013 at 8:58
from android-python27.
I'm just too stupid to get this to work this evening, I will try that again
tomorrow but thanks for your help anyways
Original comment by [email protected]
on 28 May 2013 at 9:37
from android-python27.
After I re-setup Eclipse with an older Android SDK Version, it worked perfectly
for me! Thank you very much!
You should maybe add a hint in the wiki that the Eclipse-ADT (at least the
newest) doesn't work very well with the Eclipse project template.
Can be closed
Original comment by [email protected]
on 29 May 2013 at 8:15
from android-python27.
Thanks for your feedback.
Original comment by [email protected]
on 29 May 2013 at 8:19
from android-python27.
Sorry for bugging again but:
Earlier I was testing it with the Python3.2 APK which was&is working fine in my
newly set up environment, but when I try the python2.7 APK, I get the same
error over and over again. I tried re-importing, cleaning the project and I
opened classes.dex which contains the classes that it is complaining about...
Original comment by [email protected]
on 29 May 2013 at 8:57
from android-python27.
Can you put somewhere your Python2.7 APK so I can try it ?
Original comment by [email protected]
on 29 May 2013 at 9:06
from android-python27.
Link to my Python2.7 APK:
http://owncloud.mineguild.de/public.php?service=files&t=0fc70bd7ef9c56670c354a29
bc7412ca
Original comment by [email protected]
on 29 May 2013 at 9:23
from android-python27.
Really looks an Eclipse/ADT bug, I guess the APK is malformed somehow, I
retried building the latest PythonAPK 2.7 with Eclipse Juno + ADT r21.1.0 which
worked.
Suggestions:
- try right click on the project, android tools, fix project properties
- try to rebuild from another workspace
- clean reinstall of Eclipse/ADT
Original comment by [email protected]
on 29 May 2013 at 9:56
from android-python27.
Same problem still unfixed for me :(
java.lang.ClassNotFoundException: com.android.python27.ScriptApplication
Android SDK Tool rev. 21
Eclipse SDK Version: 4.2.2 Build id: M20130204-1200
Original comment by [email protected]
on 9 Jun 2013 at 10:21
from android-python27.
Related Issues (20)
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Patna +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Vadodara +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Ghaziabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Faridabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Rajkot +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in navi mumbai +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Allahabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Dehradun +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Karnal +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantra for love success in Mohali +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Bangalore +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Pune +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Hyderabad +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in Mumbai +91-8875513486
- +91-8875513486 %%!!రామ్ దేవ్ జీ%%! vashikaran mantras for love in New Delhi +91-8875513486
- How can I pass String value from EditText In Android Activity to Python Script and also make the activity able to retrieve the String result from a function in the python script ?
- Interaction with python file
- Install on external storage
- Can't install android-python27 to Samsung Galaxy 4
- how to create android app in eclipse using python code on windows 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-python27.