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 am trying to build a webapp using flask and make .apk using p4a. But I am facing issue,
Listing '/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/_python_bundle/_python_bundle/site-packages/werkzeug/wrappers'...
working: Exception in thread background thread for pid 115163:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()king:
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/probhakar/Desktop/Projects/flask/jnvenv/lib/python3.8/site-packages/sh.py", line 1683, in wrap
fn(*rgs, **kwargs)
File "/home/probhakar/Desktop/Projects/flask/jnvenv/lib/python3.8/site-packages/sh.py", line 2662, in background_thread
handle_exit_code(exit_code)
File "/home/probhakar/Desktop/Projects/flask/jnvenv/lib/python3.8/site-packages/sh.py", line 2349, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/probhakar/Desktop/Projects/flask/jnvenv/lib/python3.8/site-packages/sh.py", line 905, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/gradlew assembleDebug
STDOUT:
> Task :compileDebugJavaWithJavac FAILED
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:245: error: cannot find symbol
public boolean onKeyDown(int keyCode, KeyEvent event) {
^
symbol: class KeyEvent
location: class PythonActivity
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity);
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity);
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:137: error: package DialogInterface does not exist
new DialogInterface.OnClickListener() {
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:247: error: cannot find symbol
if ((keyCode == KeyEvent.KEYCODE_BACK) && mWebView.canGoBack()) {
^
symbol: variable KeyEvent
location: class PythonActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1s
15 actionable tasks: 3 executed, 12 up-to-date
[INFO]: STDOUT (last 20 lines of 49):
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1s
15 actionable tasks: 3 executed, 12 up-to-date
[INFO]: STDERR:
[INFO]: COMMAND:
cd /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a && /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/gradlew assembleDebug
[WARNING]: ERROR: /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/gradlew failed!
So I ran--
probhakar@probhakar:~/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a$ cd /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a && /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/gradlew assembleDebug --stacktrace
I am getting the following stacktrace
> Configure project :
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
File /home/probhakar/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 27.0.3 in /home/probhakar/.buildozer/android/platform/android-sdk/licenses
License for package Android SDK Build-Tools 27.0.3 accepted.
Preparing "Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)".
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" ready.
Installing Android SDK Build-Tools 27.0.3 in /home/probhakar/.buildozer/android/platform/android-sdk/build-tools/27.0.3
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" complete.
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" finished.
> Task :compileDebugJavaWithJavac FAILED
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:245: error: cannot find symbol
public boolean onKeyDown(int keyCode, KeyEvent event) {
^
symbol: class KeyEvent
location: class PythonActivity
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity);
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity);
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:137: error: package DialogInterface does not exist
new DialogInterface.OnClickListener() {
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:247: error: cannot find symbol
if ((keyCode == KeyEvent.KEYCODE_BACK) && mWebView.canGoBack()) {
^
symbol: variable KeyEvent
location: class PythonActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 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 --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:205)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:370)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:357)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:350)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:56)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:39)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:100)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:46)
at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:36)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompiler.execute(CleaningJavaCompiler.java:53)
at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory.lambda$createRebuildAllCompiler$0(IncrementalCompilerFactory.java:98)
at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60)
at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44)
at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:226)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:187)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:154)
at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:125)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.BridgingIncrementalInputsTaskAction.doExecute(BridgingIncrementalInputsTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:569)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:554)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:537)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:108)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:278)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:267)
at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67)
at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)
at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)
at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159)
at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72)
at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:194)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:370)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:357)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:350)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 19s
15 actionable tasks: 5 executed, 10 up-to-date
This is the potion that is failing
> Task :compileDebugJavaWithJavac FAILED
Property 'postN' is private and annotated with @Internal. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.4.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
at org.gradle.internal.service.scopes.GlobalScopeServices.lambda$createValidationWarningReporter$1(GlobalScopeServices.java:325)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:56)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
at java.util.Optional.orElseGet(Optional.java:267)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:194)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
And this is the output of
cd /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a && /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/gradlew assembleDebug --info
Initialized native services in: /home/probhakar/.gradle/native
The client will now receive all logging from the daemon (pid: 44347). The daemon log file: /home/probhakar/.gradle/daemon/6.4.1/daemon-44347.out.log
Starting 12th build in daemon [uptime: 1 hrs 55 mins 37.342 secs, performance: 98%, non-heap usage: 31% of 268.4 MB]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file '/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/settings.gradle'.
Projects loaded. Root project using build file '/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/build.gradle'.
Included projects: [root project 'unnamed_dist_1__armeabi-v7a']
> Configure project :
Evaluating root project 'unnamed_dist_1__armeabi-v7a' using build file '/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/build.gradle'.
Creating configuration androidTestUtil
Creating configuration compile
Creating configuration apk
Creating configuration provided
Creating configuration api
Creating configuration implementation
Creating configuration runtimeOnly
Creating configuration compileOnly
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration androidTestCompile
Creating configuration androidTestApk
Creating configuration androidTestProvided
Creating configuration androidTestApi
Creating configuration androidTestImplementation
Creating configuration androidTestRuntimeOnly
Creating configuration androidTestCompileOnly
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration testCompile
Creating configuration testApk
Creating configuration testProvided
Creating configuration testApi
Creating configuration testImplementation
Creating configuration testRuntimeOnly
Creating configuration testCompileOnly
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration debugCompile
Creating configuration debugApk
Creating configuration debugProvided
Creating configuration debugApi
Creating configuration debugImplementation
Creating configuration debugRuntimeOnly
Creating configuration debugCompileOnly
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration androidTestDebugCompile
Creating configuration androidTestDebugApk
Creating configuration androidTestDebugProvided
Creating configuration androidTestDebugApi
Creating configuration androidTestDebugImplementation
Creating configuration androidTestDebugRuntimeOnly
Creating configuration androidTestDebugCompileOnly
Creating configuration androidTestDebugWearApp
Creating configuration androidTestDebugAnnotationProcessor
Creating configuration testDebugCompile
Creating configuration testDebugApk
Creating configuration testDebugProvided
Creating configuration testDebugApi
Creating configuration testDebugImplementation
Creating configuration testDebugRuntimeOnly
Creating configuration testDebugCompileOnly
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration releaseCompile
Creating configuration releaseApk
Creating configuration releaseProvided
Creating configuration releaseApi
Creating configuration releaseImplementation
Creating configuration releaseRuntimeOnly
Creating configuration releaseCompileOnly
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration testReleaseCompile
Creating configuration testReleaseApk
Creating configuration testReleaseProvided
Creating configuration testReleaseApi
Creating configuration testReleaseImplementation
Creating configuration testReleaseRuntimeOnly
Creating configuration testReleaseCompileOnly
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Parsing the SDK, no caching allowed
SDK initialized in 2 ms
Using incremental javac compilation for : debug.
Using incremental javac compilation for : debugUnitTest.
Using incremental javac compilation for : release.
Using incremental javac compilation for : releaseUnitTest.
Using incremental javac compilation for : debugAndroidTest.
All projects evaluated.
Selected primary task 'assembleDebug' from project :
Tasks to be executed: [task ':preBuild', task ':preDebugBuild', task ':compileDebugAidl', task ':compileDebugRenderscript', task ':checkDebugManifest', task ':generateDebugBuildConfig', task ':prepareLintJar', task ':mainApkListPersistenceDebug', task ':generateDebugResValues', task ':generateDebugResources', task ':mergeDebugResources', task ':createDebugCompatibleScreenManifests', task ':processDebugManifest', task ':splitsDiscoveryTaskDebug', task ':processDebugResources', task ':generateDebugSources', task ':javaPreCompileDebug', task ':compileDebugJavaWithJavac', task ':compileDebugNdk', task ':compileDebugSources', task ':mergeDebugShaders', task ':compileDebugShaders', task ':generateDebugAssets', task ':mergeDebugAssets', task ':transformClassesWithDexBuilderForDebug', task ':transformDexArchiveWithExternalLibsDexMergerForDebug', task ':transformDexArchiveWithDexMergerForDebug', task ':mergeDebugJniLibFolders', task ':transformNativeLibsWithMergeJniLibsForDebug', task ':processDebugJavaRes', task ':transformResourcesWithMergeJavaResForDebug', task ':validateSigningDebug', task ':packageDebug', task ':assembleDebug']
Tasks that were excluded: []
:preBuild (Thread[Execution worker for ':',5,main]) started.
> Task :preBuild UP-TO-DATE
Skipping task ':preBuild' as it has no actions.
:preBuild (Thread[Execution worker for ':',5,main]) completed. Took 0.002 secs.
:preDebugBuild (Thread[Execution worker for ':',5,main]) started.
> Task :preDebugBuild UP-TO-DATE
Caching disabled for task ':preDebugBuild' because:
Build cache is disabled
Skipping task ':preDebugBuild' as it is up-to-date.
:preDebugBuild (Thread[Execution worker for ':',5,main]) completed. Took 0.004 secs.
:compileDebugAidl (Thread[Execution worker for ':',5,main]) started.
> Task :compileDebugAidl UP-TO-DATE
Caching disabled for task ':compileDebugAidl' because:
Build cache is disabled
Skipping task ':compileDebugAidl' as it is up-to-date.
:compileDebugAidl (Thread[Execution worker for ':',5,main]) completed. Took 0.003 secs.
:compileDebugRenderscript (Thread[Execution worker for ':',5,main]) started.
> Task :compileDebugRenderscript UP-TO-DATE
Caching disabled for task ':compileDebugRenderscript' because:
Build cache is disabled
Skipping task ':compileDebugRenderscript' as it is up-to-date.
:compileDebugRenderscript (Thread[Execution worker for ':',5,main]) completed. Took 0.002 secs.
:checkDebugManifest (Thread[Execution worker for ':',5,main]) started.
> Task :checkDebugManifest UP-TO-DATE
Caching disabled for task ':checkDebugManifest' because:
Build cache is disabled
Skipping task ':checkDebugManifest' as it is up-to-date.
:checkDebugManifest (Thread[Execution worker for ':',5,main]) completed. Took 0.002 secs.
:generateDebugBuildConfig (Thread[Execution worker for ':',5,main]) started.
> Task :generateDebugBuildConfig UP-TO-DATE
Caching disabled for task ':generateDebugBuildConfig' because:
Build cache is disabled
Skipping task ':generateDebugBuildConfig' as it is up-to-date.
:generateDebugBuildConfig (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:prepareLintJar (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :prepareLintJar UP-TO-DATE
Caching disabled for task ':prepareLintJar' because:
Build cache is disabled
Skipping task ':prepareLintJar' as it is up-to-date.
:prepareLintJar (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.004 secs.
:mainApkListPersistenceDebug (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :mainApkListPersistenceDebug UP-TO-DATE
Caching disabled for task ':mainApkListPersistenceDebug' because:
Build cache is disabled
Skipping task ':mainApkListPersistenceDebug' as it is up-to-date.
:mainApkListPersistenceDebug (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:generateDebugResValues (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :generateDebugResValues UP-TO-DATE
Caching disabled for task ':generateDebugResValues' because:
Build cache is disabled
Skipping task ':generateDebugResValues' as it is up-to-date.
:generateDebugResValues (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.001 secs.
:generateDebugResources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :generateDebugResources UP-TO-DATE
Skipping task ':generateDebugResources' as it has no actions.
:generateDebugResources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:mergeDebugResources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :mergeDebugResources UP-TO-DATE
Caching disabled for task ':mergeDebugResources' because:
Build cache is disabled
Skipping task ':mergeDebugResources' as it is up-to-date.
:mergeDebugResources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.004 secs.
:createDebugCompatibleScreenManifests (Thread[Execution worker for ':',5,main]) started.
> Task :createDebugCompatibleScreenManifests UP-TO-DATE
Caching disabled for task ':createDebugCompatibleScreenManifests' because:
Build cache is disabled
Skipping task ':createDebugCompatibleScreenManifests' as it is up-to-date.
:createDebugCompatibleScreenManifests (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:processDebugManifest (Thread[Execution worker for ':',5,main]) started.
> Task :processDebugManifest UP-TO-DATE
Caching disabled for task ':processDebugManifest' because:
Build cache is disabled
Skipping task ':processDebugManifest' as it is up-to-date.
:processDebugManifest (Thread[Execution worker for ':',5,main]) completed. Took 0.003 secs.
:splitsDiscoveryTaskDebug (Thread[Execution worker for ':',5,main]) started.
> Task :splitsDiscoveryTaskDebug UP-TO-DATE
Caching disabled for task ':splitsDiscoveryTaskDebug' because:
Build cache is disabled
Skipping task ':splitsDiscoveryTaskDebug' as it is up-to-date.
:splitsDiscoveryTaskDebug (Thread[Execution worker for ':',5,main]) completed. Took 0.002 secs.
:processDebugResources (Thread[Execution worker for ':',5,main]) started.
> Task :processDebugResources UP-TO-DATE
Caching disabled for task ':processDebugResources' because:
Build cache is disabled
Skipping task ':processDebugResources' as it is up-to-date.
:processDebugResources (Thread[Execution worker for ':',5,main]) completed. Took 0.005 secs.
:generateDebugSources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :generateDebugSources UP-TO-DATE
Skipping task ':generateDebugSources' as it has no actions.
:generateDebugSources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:javaPreCompileDebug (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :javaPreCompileDebug UP-TO-DATE
Caching disabled for task ':javaPreCompileDebug' because:
Build cache is disabled
Skipping task ':javaPreCompileDebug' as it is up-to-date.
:javaPreCompileDebug (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.001 secs.
:compileDebugJavaWithJavac (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :compileDebugJavaWithJavac FAILED
Caching disabled for task ':compileDebugJavaWithJavac' because:
Build cache is disabled
Task ':compileDebugJavaWithJavac' is not up-to-date because:
Task has failed previously.
The input changes require a full rebuild for incremental task ':compileDebugJavaWithJavac'.
Compiling with source level 1.7 and target level 1.7.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
file or directory '/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/debug/java', not found
Compiling with JDK Java compiler API.
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:245: error: cannot find symbol
public boolean onKeyDown(int keyCode, KeyEvent event) {
^
symbol: class KeyEvent
location: class PythonActivity
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity);
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:130: error: package AlertDialog does not exist
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(PythonActivity.mActivity);
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:137: error: package DialogInterface does not exist
new DialogInterface.OnClickListener() {
^
/home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/src/main/java/org/kivy/android/PythonActivity.java:247: error: cannot find symbol
if ((keyCode == KeyEvent.KEYCODE_BACK) && mWebView.canGoBack()) {
^
symbol: variable KeyEvent
location: class PythonActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors
:compileDebugJavaWithJavac (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.222 secs.
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 --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1s
15 actionable tasks: 1 executed, 14 up-to-date
The text was updated successfully, but these errors were encountered:
I am trying to build a webapp using flask and make .apk using p4a. But I am facing issue,
So I ran--
I am getting the following stacktrace
This is the potion that is failing
And this is the output of
cd /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a && /home/probhakar/.local/share/python-for-android/dists/unnamed_dist_1__armeabi-v7a/gradlew assembleDebug --info
The text was updated successfully, but these errors were encountered: