sofdigital / DroidPython

Python app development with SL4A in Android Studio
MIT License
55 stars 17 forks source link

Can't build the default app. #6

Closed DavidBarishev closed 8 years ago

DavidBarishev commented 8 years ago

Hello!
I have came across this project and downloaded it.I tried to build the apk-2.7 but without any success. When i build it a process named 'aapy.exe' crashes and this is my full gradle log for this task:

00:42:59.514 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :app:processReleaseResources (Thread[main,5,main]) started.
00:42:59.514 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:processReleaseResources
00:42:59.514 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':app:processReleaseResources'
00:42:59.530 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':app:processReleaseResources' is up-to-date
00:42:59.600 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':app:processReleaseResources' (up-to-date check took 0.07 secs) due to:
  No history is available.
00:42:59.600 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':app:processReleaseResources'.
00:42:59.615 [INFO] [org.gradle.api.internal.changedetection.changes.RebuildIncrementalTaskInputs] All input files are considered out-of-date for incremental task ':app:processReleaseResources'.
00:42:59.615 [INFO] [org.gradle.api.Task] deleteDir(C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\generated\source\r\release) returned: true
00:42:59.664 [DEBUG] [org.gradle.api.Project] Custom package for R class: 'com.android.python27'
00:42:59.669 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe''. Working directory: C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app Command: D:\AndroidSDK\build-tools\21.0.1\aapt.exe package -f --no-crunch -I D:\AndroidSDK\platforms\android-21\android.jar -M C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\intermediates\manifests\full\release\AndroidManifest.xml -S C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\intermediates\res\merged\release -A C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\intermediates\assets\release -m -J C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\generated\source\r\release -F C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\intermediates\res\resources-release.ap_ --custom-package com.android.python27 -0 apk --output-text-symbols C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build\intermediates\symbols\release
00:42:59.673 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment for process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'': {USERDOMAIN_ROAMINGPROFILE=DAVIDPC, NVM_SYMLINK=C:\Program Files\nodejs, PROCESSOR_LEVEL=6, VS140COMNTOOLS=D:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\, SESSIONNAME=Console, ALLUSERSPROFILE=C:\ProgramData, PROCESSOR_ARCHITECTURE=AMD64, PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;D:\Program Files (x86)\AutoIt3\AutoItX, SystemDrive=C:, DIRNAME=C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\, USERNAME=david, CMD_LINE_ARGS=assembleRelease --debug --stacktrace, ProgramFiles(x86)=C:\Program Files (x86), FPS_BROWSER_USER_PROFILE_STRING=Default, APP_HOME=C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, MEmuHyperv_Path=D:\Program Files\Microvirt\MEmuHyperv, ProgramData=C:\ProgramData, MEmu_Path=D:\Program Files\Microvirt, ProgramW6432=C:\Program Files, HOMEPATH=\Users\david, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel, ProgramFiles=C:\Program Files, PUBLIC=C:\Users\Public, windir=C:\WINDOWS, =::=::\, _SKIP=2, LOCALAPPDATA=C:\Users\david\AppData\Local, USERDOMAIN=DAVIDPC, FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer, LOGONSERVER=\\DAVIDPC, JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65, PROMPT=$P$G, UserInfo=g, PYTHON=C:\Python27\python.exe, =C:=C:\Users\david\Downloads\DROID_PYTHON\apk-2.7, APPDATA=C:\Users\david\AppData\Roaming, GTK_BASEPATH=C:\Program Files (x86)\GtkSharp\2.12\, JAVA_EXE=C:\Program Files\Java\jdk1.8.0_65/bin/java.exe, VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\, CommonProgramFiles=C:\Program Files\Common Files, Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\david\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Users\david\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Java\jdk1.8.0_65\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\node_modules\node.svn;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\GtkSharp\2.12\bin;D:\Program Files\Oracle\VirtualBox;C:\Python27;C:\Python27\Scripts;D:\OpenCV\opencv\build\x64\vc14\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Program Files (x86)\Microsoft Visual Studio 14.0;D:\Coding projects\Python\Projects\Test\Ddtank_farm_bot;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\jython2.7.0\bin;C:\Users\david\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\david\AppData\Roaming\nvm;C:\Program Files\nodejs;D:\Programs\ffmpeg\bin;C:\Users\david\AppData\Local\Microsoft\WindowsApps;, OS=Windows_NT, COMPUTERNAME=DAVIDPC, ANDROID_NDK_PATH=C:\Users\david\Documents\Android\ndk\android-ndk-r10e, NVM_HOME=C:\Users\david\AppData\Roaming\nvm, PROCESSOR_REVISION=3a09, CLASSPATH=C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\\gradle\wrapper\gradle-wrapper.jar, CommonProgramW6432=C:\Program Files\Common Files, ComSpec=C:\WINDOWS\system32\cmd.exe, APP_BASE_NAME=gradlew, SystemRoot=C:\WINDOWS, TEMP=C:\Users\david\AppData\Local\Temp, HOMEDRIVE=C:, USERPROFILE=C:\Users\david, TMP=C:\Users\david\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=4}
00:42:59.673 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING
00:42:59.673 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'.
00:42:59.673 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED
00:42:59.673 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled...
00:42:59.673 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe''
00:43:03.501 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
00:43:03.505 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'' finished with exit value -1073741819 (state: FAILED)
00:43:03.509 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':app:processReleaseResources'
00:43:03.513 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:processReleaseResources FAILED
00:43:03.517 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :app:processReleaseResources (Thread[main,5,main]) completed. Took 4.003 secs.
00:43:03.521 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 13.281 secs, idle: 0.088 secs
00:43:03.529 [ERROR] [org.gradle.BuildExceptionReporter]
00:43:03.534 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
00:43:03.538 [ERROR] [org.gradle.BuildExceptionReporter]
00:43:03.541 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
00:43:03.543 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:processReleaseResources'.
00:43:03.546 [ERROR] [org.gradle.BuildExceptionReporter] > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'' finished with non-zero exit value -1073741819
00:43:03.550 [ERROR] [org.gradle.BuildExceptionReporter]
00:43:03.553 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
00:43:03.554 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processReleaseResources'.
00:43:03.554 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
00:43:03.554 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
00:43:03.554 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
00:43:03.554 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
00:43:03.554 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
00:43:03.569 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
00:43:03.569 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
00:43:03.569 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
00:43:03.585 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
00:43:03.585 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
00:43:03.585 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
00:43:03.585 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
00:43:03.585 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
00:43:03.601 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
00:43:03.601 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
00:43:03.601 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
00:43:03.601 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
00:43:03.601 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
00:43:03.601 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
00:43:03.616 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
00:43:03.616 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
00:43:03.616 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
00:43:03.616 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
00:43:03.616 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
00:43:03.616 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
00:43:03.632 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
00:43:03.632 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
00:43:03.632 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
00:43:03.632 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
00:43:03.632 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
00:43:03.649 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
00:43:03.652 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
00:43:03.654 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
00:43:03.654 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
00:43:03.654 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
00:43:03.654 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
00:43:03.654 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
00:43:03.654 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
00:43:03.670 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
00:43:03.670 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
00:43:03.670 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.Main.doAction(Main.java:33)
00:43:03.670 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
00:43:03.670 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
00:43:03.670 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
00:43:03.685 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
00:43:03.685 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
00:43:03.685 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
00:43:03.685 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
00:43:03.685 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.internal.UncheckedException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'' finished with non-zero exit value -1073741819
00:43:03.701 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:39)
00:43:03.701 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:66)
00:43:03.701 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235)
00:43:03.701 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
00:43:03.701 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222)
00:43:03.717 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
00:43:03.717 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
00:43:03.717 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
00:43:03.717 [ERROR] [org.gradle.BuildExceptionReporter]        ... 47 more
00:43:03.717 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'' finished with non-zero exit value -1073741819
00:43:03.732 [ERROR] [org.gradle.BuildExceptionReporter]        at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:42)
00:43:03.732 [ERROR] [org.gradle.BuildExceptionReporter]        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:854)
00:43:03.732 [ERROR] [org.gradle.BuildExceptionReporter]        at com.android.builder.core.AndroidBuilder$processResources$4.call(Unknown Source)
00:43:03.732 [ERROR] [org.gradle.BuildExceptionReporter]        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.groovy:159)
00:43:03.751 [ERROR] [org.gradle.BuildExceptionReporter]        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:79)
00:43:03.753 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
00:43:03.754 [ERROR] [org.gradle.BuildExceptionReporter]        ... 53 more
00:43:03.754 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.process.internal.ExecException: Process 'command 'D:\AndroidSDK\build-tools\21.0.1\aapt.exe'' finished with non-zero exit value -1073741819
00:43:03.754 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:365)
00:43:03.754 [ERROR] [org.gradle.BuildExceptionReporter]        at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:40)
00:43:03.754 [ERROR] [org.gradle.BuildExceptionReporter]        ... 58 more
00:43:03.754 [ERROR] [org.gradle.BuildExceptionReporter]
00:43:03.770 [LIFECYCLE] [org.gradle.BuildResultLogger]
00:43:03.775 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
00:43:03.778 [LIFECYCLE] [org.gradle.BuildResultLogger]
00:43:03.781 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 25.602 secs
00:43:03.801 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
00:43:03.804 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
00:43:03.806 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for settings file 'C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\settings.gradle' (C:\Users\david\.gradle\caches\2.2\scripts\settings_5ig8dwiusdmk8fgpg5o3xvdcu\SettingsScript\buildscript).
00:43:03.808 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for settings file 'C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\settings.gradle' (C:\Users\david\.gradle\caches\2.2\scripts\settings_5ig8dwiusdmk8fgpg5o3xvdcu\SettingsScript\no_buildscript).
00:43:03.809 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\build.gradle' (C:\Users\david\.gradle\caches\2.2\scripts\build_7treu34wp9ih33rir64k556pk\ProjectScript\buildscript).
00:43:03.812 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\build.gradle' (C:\Users\david\.gradle\caches\2.2\scripts\build_7treu34wp9ih33rir64k556pk\ProjectScript\no_buildscript).
00:43:03.814 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build.gradle' (C:\Users\david\.gradle\caches\2.2\scripts\build_aokp8ajek4m0q3io6q0q996og\ProjectScript\buildscript).
00:43:03.816 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\app\build.gradle' (C:\Users\david\.gradle\caches\2.2\scripts\build_aokp8ajek4m0q3io6q0q996og\ProjectScript\no_buildscript).
00:43:03.818 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (C:\Users\david\.gradle\caches\modules-2\metadata-2.14\module-metadata.bin)
00:43:03.823 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (C:\Users\david\.gradle\caches\modules-2\metadata-2.14\artifact-at-repository.bin)
00:43:03.825 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-versions.bin (C:\Users\david\.gradle\caches\modules-2\metadata-2.14\module-versions.bin)
00:43:03.828 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (C:\Users\david\.gradle\caches\modules-2).
00:43:03.830 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (C:\Users\david\.gradle\caches\2.2\plugin-resolution) was closed 0 times.
00:43:03.842 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\.gradle\2.2\taskArtifacts\fileSnapshots.bin)
00:43:03.846 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\.gradle\2.2\taskArtifacts\outputFileStates.bin)
00:43:03.848 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\.gradle\2.2\taskArtifacts\taskArtifacts.bin)
00:43:03.853 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\.gradle\2.2\taskArtifacts\fileHashes.bin)
00:43:03.855 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (C:\Users\david\Downloads\DROID_PYTHON\apk-2.7\.gradle\2.2\taskArtifacts).
00:43:03.859 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 4 (avg: 0.007 secs, total: 0.028 secs)
00:43:03.862 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
00:43:03.863 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.005 secs
00:43:03.865 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory]                                                                                                                        In-memory dependency metadata cache closed. Repos cached: 13, cache instances: 3, modules served from cache: 18, artifacts: 4

I have python 2.7.10 (32 bit) , on windows 10 64 bit. Any ideas ?

michaelrinderle commented 8 years ago

what IDE are you using for the build process?

DavidBarishev commented 8 years ago

I tried to build from android studios 2.1.2 with no luck and using the cmd with this command to get the full log: gradlew.bat assembleDebug --debug --stacktrace Same error on both.

The project i tried to build is identical except local.properties. I changed it to match my sdk location:

## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Aug 15 15:43:08 IDT 2016
ndk.dir=D\:\\AndroidSDK\\ndk-bundle
sdk.dir=D\:\\AndroidSDK
michaelrinderle commented 8 years ago

Try:

  1. Remove NDK from gradle, it's not needed.
  2. Make sure you are only opening up one project in AS from the repo, 2.7 or 3.4
  3. Clean project
  4. Rebuild project
DavidBarishev commented 8 years ago

Same problem, i cant even clean the project since the clean function runs the ':app:processDebugResources' which makes aapt crash

michaelrinderle commented 8 years ago

You must have broken your build process somehow. This is confirmed to build on Win.

Start a new project and make sure you only have the py2 or py3 build folders selected and set the appropriate SDK location.

DavidBarishev commented 8 years ago

I tried to build the apk-2.7 with no success, this is the steps that i tried:

The project is using an old version of the Android Gradle plugin.  To take advantage of all the latest features, such as Instant Run, we strongly recommend that you update the Android Gradle plugin to version 2.1.2.
You can learn more about this version of the plugin from the release notes. 

[Update] [Remind me later] [Don't remind me again for this project]

I tried to build the apk-3.2 with the same steps, and the project builds successfully but when i try to run it in Nexus 5 API 21/Nexus 6 Api 21 x86_64 emulator i get INSTALL_FAILED_NO_MATCHING_ABIS, but i NOX app player i could get it to work.

Seems really weird, any idea ?

DavidBarishev commented 8 years ago

I did some more testing with the apk-3.2, since i could get it to build but not install on all systems.This is the result i got, All testing is on Nexus 5 emulated device.

API system image bit install work
23 x86_64 INSTALL_FAILED_NO_MATCHING_ABIS x
23 x86 INSTALL_FAILED_NO_MATCHING_ABIS x
22 x86_64 INSTALL_FAILED_NO_MATCHING_ABIS x
22 x86 INSTALL_FAILED_NO_MATCHING_ABIS x
21 x86_64 INSTALL_FAILED_NO_MATCHING_ABIS x
21 x86 INSTALL_FAILED_NO_MATCHING_ABIS x
19 x86 The installation part is loading, when it finishes it prints `install finished' and the app crashes, cant open the app - insta crash
19 arm Application won't start
23(My own nexus 5 running cyanogenmod 13 , android version 6.0.1 ) arm ✔ Seems that during install it couldn't chmod because it had not enought permission (I checked and it seemed to have storage permissions ) x Application won't launch, Maybe because of bad install

log for 19 API -arm when opening the app:

08-16 07:59:08.209 3702-3728/com.android.python32 I/Python32APK: Executing /data/data/com.android.python32/files/python3/bin/python3 with arguments [/data/data/com.android.python32/files/hello.py, --foreground] and with environment {ANDROID_SOCKET_zygote=9, AP_HANDSHAKE=10a96069-b98f-4430-9289-9c0ad61b55f9, ANDROID_STORAGE=/storage, ANDROID_BOOTLOGO=1, EXTERNAL_STORAGE=/storage/sdcard, ANDROID_ASSETS=/system/app, PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, ASEC_MOUNTPOINT=/mnt/asec, PYTHONPATH=/storage/sdcard/com.android.python32/extras/python3:/data/data/com.android.python32/files/python3/lib/python3.2/lib-dynload:/data/data/com.android.python32/files/python3/lib/python3.2, AP_HOST=127.0.0.1, LOOP_MOUNTPOINT=/mnt/obb, TEMP=/storage/sdcard/com.android.python32/extras/tmp, BOOTCLASSPATH=/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar, AP_PORT=35201, ANDROID_DATA=/data, PYTHONHOME=/data/data/com.android.python32/files/python3, LD_LIBRARY_PATH=/data/data/com.android.python32/files/python3/lib:/data/data/com.android.python32/files/python3/lib/python3.2/lib-dynload, ANDROID_ROOT=/system, ANDROID_PROPERTY_WORKSPACE=8,0}
08-16 07:59:08.239 3702-3728/com.android.python32 D/dalvikvm: Trying to load lib /data/app-lib/com.android.python32-2/libcom_googlecode_android_scripting_Exec.so 0x9ddff390
08-16 07:59:08.269 3702-3728/com.android.python32 D/dalvikvm: Added shared lib /data/app-lib/com.android.python32-2/libcom_googlecode_android_scripting_Exec.so 0x9ddff390
08-16 07:59:08.269 3702-3728/com.android.python32 D/dalvikvm: No JNI_OnLoad found in /data/app-lib/com.android.python32-2/libcom_googlecode_android_scripting_Exec.so 0x9ddff390, skipping init
08-16 07:59:08.669 3702-3728/com.android.python32 D/dalvikvm: GC_FOR_ALLOC freed 324K, 16% free 3346K/3956K, paused 162ms, total 162ms

log for API 19 - x86:

08-16 08:04:09.686 3910-3925/com.android.python32 E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
                                                                    Process: com.android.python32, PID: 3910
                                                                    java.lang.RuntimeException: An error occured while executing doInBackground()
                                                                        at android.os.AsyncTask$3.done(AsyncTask.java:300)
                                                                        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
                                                                        at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
                                                                        at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                                                                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                        at java.lang.Thread.run(Thread.java:841)
                                                                     Caused by: java.lang.UnsatisfiedLinkError: Couldn't load com_googlecode_android_scripting_Exec from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.android.python32-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.android.python32-2, /vendor/lib, /system/lib]]]: findLibrary returned null
                                                                        at java.lang.Runtime.loadLibrary(Runtime.java:358)
                                                                        at java.lang.System.loadLibrary(System.java:526)
                                                                        at com.googlecode.android_scripting.Exec.<clinit>(Exec.java:68)
                                                                        at com.android.python32.process.Process.start(Process.java:137)
                                                                        at com.android.python32.process.InterpreterProcess.start(InterpreterProcess.java:138)
                                                                        at com.android.python32.process.MyScriptProcess.launchScript(MyScriptProcess.java:61)
                                                                        at com.android.python32.BackgroundScriptService.startMyMain(BackgroundScriptService.java:182)
                                                                        at com.android.python32.BackgroundScriptService.access$000(BackgroundScriptService.java:45)
                                                                        at com.android.python32.BackgroundScriptService$startMyAsyncTask.doInBackground(BackgroundScriptService.java:138)
                                                                        at com.android.python32.BackgroundScriptService$startMyAsyncTask.doInBackground(BackgroundScriptService.java:131)

My nexus 5 log:

08-16 15:06:08.103 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/hello.py
08-16 15:06:08.131 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/bin/python3
08-16 15:06:09.097 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/libsqlite3.so.0
08-16 15:06:09.105 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/libpython3.so
08-16 15:06:09.118 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_struct.cpython-32m.so
08-16 15:06:09.165 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/math.cpython-32m.so
08-16 15:06:09.174 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/fcntl.cpython-32m.so
08-16 15:06:09.215 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_multibytecodec.cpython-32m.so
08-16 15:06:09.242 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_codecs_tw.cpython-32m.so
08-16 15:06:09.261 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_datetime.cpython-32m.so
08-16 15:06:09.280 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/array.cpython-32m.so
08-16 15:06:09.318 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_ctypes.cpython-32m.so
08-16 15:06:09.468 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/unicodedata.cpython-32m.so
08-16 15:06:09.506 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/cmath.cpython-32m.so
08-16 15:06:09.516 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/audioop.cpython-32m.so
08-16 15:06:09.524 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/syslog.cpython-32m.so
08-16 15:06:09.532 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/select.cpython-32m.so
08-16 15:06:09.537 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/resource.cpython-32m.so
08-16 15:06:09.561 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_socket.cpython-32m.so
08-16 15:06:09.567 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/binascii.cpython-32m.so
08-16 15:06:09.574 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/grp.cpython-32m.so
08-16 15:06:09.592 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_testcapi.cpython-32m.so
08-16 15:06:09.611 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_curses.cpython-32m.so
08-16 15:06:09.630 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_curses_panel.cpython-32m.so
08-16 15:06:09.644 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_bisect.cpython-32m.so
08-16 15:06:09.689 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/pyexpat.cpython-32m.so
08-16 15:06:09.696 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/mmap.cpython-32m.so
08-16 15:06:09.704 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_csv.cpython-32m.so
08-16 15:06:09.934 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_hashlib.cpython-32m.so
08-16 15:06:09.950 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_ctypes_test.cpython-32m.so
08-16 15:06:09.989 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_codecs_cn.cpython-32m.so
08-16 15:06:09.995 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/zlib.cpython-32m.so
08-16 15:06:10.001 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_posixsubprocess.cpython-32m.so
08-16 15:06:10.020 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_multiprocessing.cpython-32m.so
08-16 15:06:10.028 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/termios.cpython-32m.so
08-16 15:06:10.035 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_lsprof.cpython-32m.so
08-16 15:06:10.056 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_elementtree.cpython-32m.so
08-16 15:06:10.061 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/time.cpython-32m.so
08-16 15:06:10.094 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_codecs_hk.cpython-32m.so
08-16 15:06:10.115 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_pickle.cpython-32m.so
08-16 15:06:10.155 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/parser.cpython-32m.so
08-16 15:06:10.160 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_random.cpython-32m.so
08-16 15:06:10.163 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/atexit.cpython-32m.so
08-16 15:06:10.191 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_codecs_kr.cpython-32m.so
08-16 15:06:10.211 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_sqlite3.cpython-32m.so
08-16 15:06:10.221 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_json.cpython-32m.so
08-16 15:06:10.265 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/bz2.cpython-32m.so
08-16 15:06:10.275 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/readline.cpython-32m.so
08-16 15:06:10.571 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_ssl.cpython-32m.so
08-16 15:06:10.577 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_codecs_iso2022.cpython-32m.so
08-16 15:06:10.586 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/crypt.cpython-32m.so
08-16 15:06:10.626 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_codecs_jp.cpython-32m.so
08-16 15:06:10.631 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload/_heapq.cpython-32m.so
08-16 15:06:11.117 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/libpython3.2m.so.1.0
08-16 15:06:11.202 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/libreadline.so.6
08-16 15:06:11.228 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/libz.so.1
08-16 15:06:11.303 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/libncurses.so.5
08-16 15:06:11.317 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/lib/python3.2/config-3.2m/Makefile
08-16 15:06:11.327 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /data/user/0/com.android.python32/files/python3/include/python3.2m/pyconfig.h
08-16 15:06:13.684 11605-12042/com.android.python32 D/Python32APK: Unzip deleted /storage/emulated/0/com.android.python32/extras/python3/
08-16 15:06:13.688 11605-12042/com.android.python32 W/FileUtils: Failed to chmod(/storage/emulated/0/com.android.python32/extras/python3): android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
08-16 15:06:13.688 11605-12042/com.android.python32 D/Python32APK: Unzip extracted /storage/emulated/0/com.android.python32/extras/python3/
08-16 15:06:13.693 11605-12042/com.android.python32 W/FileUtils: Failed to chmod(/storage/emulated/0/com.android.python32/extras/python3/abc.py): android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)        

... Goes on for every .py file 

This is when i try to launch the app
08-16 15:13:12.650 13777-13777/com.android.python32 I/LoadedApk: No resource references to update in package common
08-16 15:13:12.654 13777-13777/com.android.python32 I/LoadedApk: No resource references to update in package com.kohlewrrk.outray
08-16 15:13:12.656 13777-13777/com.android.python32 I/LoadedApk: No resource references to update in package com.blissroms.moelle.ddoverhauled
08-16 15:13:13.085 13777-13808/com.android.python32 V/sl4a.SimpleServer:225: Bound to /127.0.0.1
08-16 15:13:13.130 13777-13808/com.android.python32 I/Python32APK: Executing /data/user/0/com.android.python32/files/python3/bin/python3 with arguments [/data/user/0/com.android.python32/files/hello.py, --foreground] and with environment {ANDROID_ROOT=/system, AP_PORT=38618, ANDROID_CACHE=/cache, AP_HANDSHAKE=b0fdc406-5f92-48da-8c71-7efabf185105, LD_PRELOAD=libsigchain.so, ANDROID_BOOTLOGO=1, TERMINFO=/system/etc/terminfo, AP_HOST=127.0.0.1, LD_LIBRARY_PATH=/data/user/0/com.android.python32/files/python3/lib:/data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload, EXTERNAL_STORAGE=/sdcard, SYSTEMSERVERCLASSPATH=/system/framework/org.cyanogenmod.platform.jar:/system/framework/org.cyanogenmod.hardware.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar, PYTHONHOME=/data/user/0/com.android.python32/files/python3, ANDROID_SOCKET_zygote=12, PYTHONPATH=/storage/emulated/0/com.android.python32/extras/python3:/data/user/0/com.android.python32/files/python3/lib/python3.2/lib-dynload:/data/user/0/com.android.python32/files/python3/lib/python3.2, PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, ANDROID_DATA=/data, ANDROID_ASSETS=/system/app, CLASSPATH=/system/framework/XposedBridge.jar, ASEC_MOUNTPOINT=/mnt/asec, TEMP=/storage/emulated/0/com.android.python32/extras/tmp, BOOTCLASSPATH=/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar, ANDROID_PROPERTY_WORKSPACE=10,0, PREBUNDLED_ROOT=/vendor/bundled-app, ANDROID_STORAGE=/storage}
08-16 15:13:13.182 13777-13829/com.android.python32 D/Python32APK: Process 13827 exited with result code 1.
08-16 15:13:13.220 13777-13829/com.android.python32 I/Process: Sending signal. PID: 13777 SIG: 9

Would like to hear your thought about it

michaelrinderle commented 8 years ago

The python interpreters for the packages are compiled for arm, they couldn't possible run on x86 architecture. This was already discussed in a closed issue.