pb6110 / android-python27

Automatically exported from code.google.com/p/android-python27
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
Thank You very much. Problem on Eclipse solved !

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

GoogleCodeExporter commented 9 years ago
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: