2015-10-07 70 views
2

對於Kivy和Android應用程序開發,我相當新穎。我與Kivy一起製作了一個基本的Hello World應用,並試圖用Buildozer製作一個APK。這些是我看到的錯誤:使用Buildozer構建時出錯

-compile: 
[javac] Compiling 11 source files to /home/ratul/Devel/Python/Kivy/test/.buildozer/android/platform/python-for-android/dist/ratulsapp/bin/classes 
[javac] /home/ratul/Devel/Python/Kivy/test/.buildozer/android/platform/python-for-android/dist/ratulsapp/src/org/renpy/android/PythonService.java:64: error: cannot find symbol 
[javac]   notification.setLatestEventInfo(context, serviceTitle, serviceDescription, pIntent); 
[javac]     ^
[javac] symbol: method setLatestEventInfo(Context,String,String,PendingIntent) 
[javac] location: variable notification of type Notification 
[javac] Note: Some input files use or override a deprecated API. 
[javac] Note: Recompile with -Xlint:deprecation for details. 
[javac] 1 error 

BUILD FAILED 
/home/ratul/Devel/Android/Sdk/tools/ant/build.xml:716: The following error occurred while executing this line: 
/home/ratul/Devel/Android/Sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details. 

我不明白問題來自哪裏。我試圖從main.py中指定版本,但這也沒有幫助。任何指針?提前致謝。

回答