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

Unable to generate PyDroid.apk from the sample project Pydroid #14

Open
GoogleCodeExporter opened this issue Apr 5, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install Necessitas
2. Import into Eclipse PyDroid project
3. Build path / Configure build path
4. Project Clean / Build Project

What is the expected output? What do you see instead?
No Eclipse errors, 9 errors on QtActivity.java:

The method onServiceConnected(ComponentName, IBinder) of type new 
ServiceConnection(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 178    Java 
Problem

The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 167    Java 
Problem

The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 122    Java 
Problem

The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 230    Java 
Problem

The method onServiceDisconnected(ComponentName) of type new 
ServiceConnection(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 213    Java 
Problem

The method run() of type new Runnable(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 204    Java 
Problem

The method loaderReady(Bundle) of type new IMinistroCallback.Stub(){} must 
override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 200    Java 
Problem

The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 366    Java 
Problem

The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  QtActivity.java /PyDroid/src/org/kde/necessitas/origo   line 350    Java 
Problem


What version of the product are you using? On what operating system?
Eclipse Juno Service Release 1, Windows 7


Please provide any additional information below.

I would like to develop a simple Pyqt application for Android,
so I started from the PyDroid template.
Before I had successfully imported, built and tested on Android the
PythonAPK project.  



Original issue reported on code.google.com by marcopag...@gmail.com on 3 Nov 2012 at 7:51

@GoogleCodeExporter
Copy link
Author

Try this:

Project -> Properties -> java Compiler and set 'Compiler compliance level' to 
1.6

Original comment by anthony....@gmail.com on 3 Nov 2012 at 8:40

@GoogleCodeExporter
Copy link
Author

Thank You very much. Problem on Eclipse solved !

Original comment by marcopag...@gmail.com on 4 Nov 2012 at 11:10

@GoogleCodeExporter
Copy link
Author

I made a small patch to adjust the project specific settings and avoid this 
kind of problems.

Original comment by charon...@gmail.com on 5 May 2013 at 5:24

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant