You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate the APK via buildozer and I got this while in Gradlew:
[INFO]: Selecting java build tool:
[INFO]: Detected highest available build tools version to be 28.0.3
[INFO]: Building with gradle, as gradle executable is present
[DEBUG]: -> running gradlew assembleDebug
[DEBUG]: ebugJ> Task :compileDebugJavaWithJavac
[DEBUG]: orm/b/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1947: error: cannot find symbol
[DEBUG]: case MotionEvent.ACTION_BUTTON_PRESS:
[DEBUG]: ^
[DEBUG]: symbol: variable ACTION_BUTTON_PRESS
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1948: error: cannot find symbol
[DEBUG]: case MotionEvent.ACTION_BUTTON_RELEASE:
[DEBUG]: ^
[DEBUG]: symbol: variable ACTION_BUTTON_RELEASE
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1951: error: cannot find symbol
[DEBUG]: if (action == MotionEvent.ACTION_BUTTON_PRESS) {
[DEBUG]: ^
[DEBUG]: symbol: variable ACTION_BUTTON_PRESS
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1954: error: cannot find symbol
[DEBUG]: else if (action == MotionEvent.ACTION_BUTTON_RELEASE) {
[DEBUG]: ^
[DEBUG]: symbol: variable ACTION_BUTTON_RELEASE
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:435: error: cannot find symbol
[DEBUG]: haptic.vib.vibrate(VibrationEffect.createOneShot(length, vibeValue));
[DEBUG]: ^
[DEBUG]: symbol: variable VibrationEffect
[DEBUG]: location: class SDLHapticHandler_API26
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:666: error: cannot find symbol
[DEBUG]: x = event.getAxisValue(MotionEvent.AXIS_RELATIVE_X);
[DEBUG]: ^
[DEBUG]: symbol: variable AXIS_RELATIVE_X
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:667: error: cannot find symbol
[DEBUG]: y = event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y);
[DEBUG]: ^
[DEBUG]: symbol: variable AXIS_RELATIVE_Y
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:709: error: cannot find symbol
[DEBUG]: return event.getAxisValue(MotionEvent.AXIS_RELATIVE_X);
[DEBUG]: ^
[DEBUG]: symbol: variable AXIS_RELATIVE_X
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:719: error: cannot find symbol
[DEBUG]: return event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y);
[DEBUG]: ^
[DEBUG]: symbol: variable AXIS_RELATIVE_Y
[DEBUG]: location: class MotionEvent
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:768: error: cannot find symbol
[DEBUG]: case InputDevice.SOURCE_MOUSE_RELATIVE:
[DEBUG]: ^
[DEBUG]: symbol: variable SOURCE_MOUSE_RELATIVE
[DEBUG]: location: class InputDevice
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:813: error: cannot find symbol
[DEBUG]: SDLActivity.getContentView().requestPointerCapture();
[DEBUG]: ^
[DEBUG]: symbol: method requestPointerCapture()
[DEBUG]: location: class View
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:816: error: cannot find symbol
[DEBUG]: SDLActivity.getContentView().releasePointerCapture();
[DEBUG]: ^
[DEBUG]: symbol: method releasePointerCapture()
[DEBUG]: location: class View
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:831: error: cannot find symbol
[DEBUG]: SDLActivity.getContentView().requestPointerCapture();
[DEBUG]: ^
[DEBUG]: symbol: method requestPointerCapture()
[DEBUG]: location: class View
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:116: error: cannot find symbol
[DEBUG]: channelConfig = AudioFormat.CHANNEL_OUT_7POINT1_SURROUND;
[DEBUG]: ^
[DEBUG]: symbol: variable CHANNEL_OUT_7POINT1_SURROUND
[DEBUG]: location: class AudioFormat
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:328: error: cannot find symbol
[DEBUG]: return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
[DEBUG]: ^
[DEBUG]: symbol: variable READ_BLOCKING
[DEBUG]: location: class AudioRecord
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:328: error: cannot find symbol
[DEBUG]: return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
[DEBUG]: ^
[DEBUG]: symbol: variable READ_NON_BLOCKING
[DEBUG]: location: class AudioRecord
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:336: error: cannot find symbol
[DEBUG]: return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
[DEBUG]: ^
[DEBUG]: symbol: variable READ_BLOCKING
[DEBUG]: location: class AudioRecord
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:336: error: cannot find symbol
[DEBUG]: return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
[DEBUG]: ^
[DEBUG]: symbol: variable READ_NON_BLOCKING
[DEBUG]: location: class AudioRecord
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:345: error: cannot find symbol
[DEBUG]: return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
[DEBUG]: ^
[DEBUG]: symbol: variable READ_BLOCKING
[DEBUG]: location: class AudioRecord
[DEBUG]: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:345: error: cannot find symbol
[DEBUG]: return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
[DEBUG]: ^
[DEBUG]: symbol: variable READ_NON_BLOCKING
[DEBUG]: location: class AudioRecord
[DEBUG]: Note: Some input files use or override a deprecated API.
[DEBUG]: Note: Recompile with -Xlint:deprecation for details.
[DEBUG]: Note: Some input files use unchecked or unsafe operations.
[DEBUG]: Note: Recompile with -Xlint:unchecked for details.
[DEBUG]: 20 errors
[DEBUG]:
[DEBUG]:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':compileDebugJavaWithJavac'.
[DEBUG]: > Compilation failed; see the compiler error output for details.
[DEBUG]:
[DEBUG]: * Try:
[DEBUG]: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[DEBUG]:
[DEBUG]: * Get more help at https://help.gradle.org
[DEBUG]:
[DEBUG]: BUILD FAILED in 42s
[DEBUG]: 15 actionable tasks: 15 executed
[DEBUG]:
[DEBUG]:
Exception in thread background thread for pid 17711:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/tiago/.local/lib/python3.6/site-packages/sh.py", line 1540, in wrap
fn(*args, **kwargs)
File "/home/tiago/.local/lib/python3.6/site-packages/sh.py", line 2459, in background_thread
handle_exit_code(exit_code)
File "/home/tiago/.local/lib/python3.6/site-packages/sh.py", line 2157, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/tiago/.local/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/gradlew assembleDebug
STDOUT:
> Task :compileDebugJavaWithJavac
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1947: error: cannot find symbol
case MotionEvent.ACTION_BUTTON_PRESS:
^
symbol: variable ACTION_BUTTON_PRESS
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1948: error: cannot find symbol
case MotionEvent.ACTION_BUTTON_RELEASE:
^
symbol: variable ACTION_BUTTON_RELEASE
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1951: error: cannot find symbol
if (action == MotionEvent.ACTION_BUTTON_PRESS) {
^
symbol: variable ACTION_BUTTON_PRESS
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLActivity.java:1954: error: cannot find symbol
else if (action == MotionEvent.ACTION_BUTTON_RELEASE) {
^
symbol: variable ACTION_BUTTON_RELEASE
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:435: error: cannot find symbol
haptic.vib.vibrate(VibrationEffect.createOneShot(length, vibeValue));
^
symbol: variable VibrationEffect
location: class SDLHapticHandler_API26
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:666: error: cannot find symbol
x = event.getAxisValue(MotionEvent.AXIS_RELATIVE_X);
^
symbol: variable AXIS_RELATIVE_X
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:667: error: cannot find symbol
y = event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y);
^
symbol: variable AXIS_RELATIVE_Y
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:709: error: cannot find symbol
return event.getAxisValue(MotionEvent.AXIS_RELATIVE_X);
^
symbol: variable AXIS_RELATIVE_X
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:719: error: cannot find symbol
return event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y);
^
symbol: variable AXIS_RELATIVE_Y
location: class MotionEvent
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:768: error: cannot find symbol
case InputDevice.SOURCE_MOUSE_RELATIVE:
^
symbol: variable SOURCE_MOUSE_RELATIVE
location: class InputDevice
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:813: error: cannot find symbol
SDLActivity.getContentView().requestPointerCapture();
^
symbol: method requestPointerCapture()
location: class View
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:816: error: cannot find symbol
SDLActivity.getContentView().releasePointerCapture();
^
symbol: method releasePointerCapture()
location: class View
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLControllerManager.java:831: error: cannot find symbol
SDLActivity.getContentView().requestPointerCapture();
^
symbol: method requestPointerCapture()
location: class View
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:116: error: cannot find symbol
channelConfig = AudioFormat.CHANNEL_OUT_7POINT1_SURROUND;
^
symbol: variable CHANNEL_OUT_7POINT1_SURROUND
location: class AudioFormat
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:328: error: cannot find symbol
return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
^
symbol: variable READ_BLOCKING
location: class AudioRecord
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:328: error: cannot find symbol
return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
^
symbol: variable READ_NON_BLOCKING
location: class AudioRecord
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:336: error: cannot find symbol
return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
^
symbol: variable READ_BLOCKING
location: class AudioRecord
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:336: error: cannot find symbol
return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
^
symbol: variable READ_NON_BLOCKING
location: class AudioRecord
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:345: error: cannot find symbol
return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
^
symbol: variable READ_BLOCKING
location: class AudioRecord
/home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/src/main/java/org/libsdl/app/SDLAudioManager.java:345: error: cannot find symbol
return mAudioRecord.read(buffer, 0, buffer.length, blocking ? AudioRecord.READ_BLOCKING : AudioRecord.READ_NON_BLOCKING);
^
symbol: variable READ_NON_BLOCKING
location: class AudioRecord
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
20 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 42s
15 actionable tasks: 15 executed
STDERR:
[INFO]: STDOUT (last 20 lines of 133):
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 42s
15 actionable tasks: 15 executed
[INFO]: STDERR:
[INFO]: COMMAND:
cd /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp && /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/gradlew assembleDebug
[WARNING]: ERROR: /home/tiago/Documentos/.buildozer/android/platform/build/dists/rainhaapp/gradlew failed!
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
No compiled python is present to zip, skipping.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name rainhaapp --name 'Abastecimento Rainha' --version 0.2 --package org.test.rainhaapp --android_api 22 --minsdk 21 --ndk-api 21 --private /home/tiago/Documentos/.buildozer/android/app --permission INTERNET --icon /home/tiago/Documentos/abastecimento-rainha/busw.png --orientation portrait --copy-libs --arch armeabi-v7a --color=always --storage-dir="/home/tiago/Documentos/.buildozer/android/platform/build" --ndk-api=21
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
I'm trying to generate the APK via buildozer and I got this while in Gradlew:
My .spec file:
Cython version = 0.28.3
The text was updated successfully, but these errors were encountered: