Hey Guys.
I would build Appinventor on Raspberry Pi (4 Model B). For this i followed the instructions on git and google docs. But i still get this error:
pi@raspberrypi:~/appinventor-sources/appinventor $ ant
Buildfile: /home/pi/appinventor-sources/appinventor/build.xml
all:
init:
MakeWarLibsDir:
common_CommonUtils:
init:
CommonUtils:
common_CommonVersion:
init:
CommonVersion:
components_CommonConstants:
init:
CommonConstants:
WarLibs:
AiSharedLib:
AiServerLib:
components_AndroidRuntime:
common_CommonVersion:
init:
CommonVersion:
init:
HtmlEntities:
Barcode:
CopyComponentLibraries:
common_CommonUtils:
init:
CommonUtils:
CommonConstants:
AnnotationProcessors:
AndroidRuntime.uptodate:
AndroidRuntime:
AiClientLib:
AiRebindLib:
blocklyeditor_BlocklyTranslationGenerator:
CheckBlocklyTranslations:
init:
CheckBlocklyCompile:
BlocklyCompile:
BlocklyTranslationGenerator:
CheckDocs:
BuildDocs:
[exec] Execute failed: java.io.IOException: Cannot run program "bundle" (in directory "/home/pi/appinventor-sources/appinventor/docs/markdown"): error=2, Datei oder Verzeichnis nicht gefunden
[exec] Execute failed: java.io.IOException: Cannot run program "bundle" (in directory "/home/pi/appinventor-sources/appinventor/docs/markdown"): error=2, Datei oder Verzeichnis nicht gefunden
CopyToBuildWar:
CheckYaClientApp:
YaClientApp:
CheckKeystore:
Keystore:
CheckAuthKey:
CheckBuildAuthKey:
InstallAuthKey:
all:
CheckBlocklyTranslations:
init:
CheckBlocklyCompile:
BlocklyCompile:
BlocklyTranslationGenerator:
all:
init:
CommonUtils:
CommonVersion:
all:
init:
common_CommonUtils:
init:
CommonUtils:
common_CommonVersion:
init:
CommonVersion:
components_CommonConstants:
init:
CommonConstants:
CopyToRunLibDir:
components_AndroidRuntime:
common_CommonVersion:
init:
CommonVersion:
init:
HtmlEntities:
Barcode:
CopyComponentLibraries:
common_CommonUtils:
init:
CommonUtils:
CommonConstants:
AnnotationProcessors:
AndroidRuntime.uptodate:
AndroidRuntime:
BuildServer:
all:
init:
CommonConstants:
common_CommonVersion:
init:
CommonVersion:
HtmlEntities:
Barcode:
CopyComponentLibraries:
common_CommonUtils:
init:
CommonUtils:
AnnotationProcessors:
AndroidRuntime.uptodate:
AndroidRuntime:
all:
init:
CheckKeystore:
MakeKeyStore:
CheckPlayAppSrcZip:
GenPlayAppSrcZip:
common_CommonUtils:
init:
CommonUtils:
common_CommonVersion:
init:
CommonVersion:
components_CommonConstants:
init:
CommonConstants:
CopyToRunLibDir:
components_AndroidRuntime:
common_CommonVersion:
init:
CommonVersion:
init:
HtmlEntities:
Barcode:
CopyComponentLibraries:
common_CommonUtils:
init:
CommonUtils:
CommonConstants:
AnnotationProcessors:
AndroidRuntime.uptodate:
AndroidRuntime:
BuildServer:
CheckPlayApp:
PlayApp:
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder build
[java] INFORMATION: temporary project root: /tmp/1644768656993_0.5146177044871354-0
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/android.keystore from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/AI2Companion-Icon.png from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/Instructions.png from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/connectwCode.png from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/connectwQR.png from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/classes.jar from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/component.json from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/components.json from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/extension.properties from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/files/AndroidRuntime.jar from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/files/component_build_info.json from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/external_comps/edu.mit.appinventor.companionextras/files/component_build_infos.json from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/mooning.png from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/assets/splash.html from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/src/edu/mit/appinventor/aicompanion3/Screen1.bky from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/src/edu/mit/appinventor/aicompanion3/Screen1.scm from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/src/edu/mit/appinventor/aicompanion3/Screen1.yail from input zip
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFORMATION: extracting /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/project.properties from input zip
[java] Component activities needed, n = 3
[java] Component activity metadata needed, n = 0
[java] Component assets needed, n = 2
[java] Libraries needed, n = 39
[java] Component metadata needed, n = 0
[java] Native Libraries needed, n = 3
[java] Permissions needed, n = 78
[java] Feb 13, 2022 5:10:57 PM com.google.appinventor.buildserver.Compiler generatePermissions
[java] INFORMATION: usesLocation = False
[java] Feb 13, 2022 5:11:02 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
[java] INFORMATION: VCode: 13026200
[java] Feb 13, 2022 5:11:02 PM com.google.appinventor.buildserver.Compiler writeAndroidManifest
[java] INFORMATION: VName: 2.62
[java] Feb 13, 2022 5:11:11 PM com.google.appinventor.buildserver.Execution execute
[java] INFORMATION: ____Executing /tmp/aapt4643218635649073848 package -v -f -M /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/../build/AndroidManifest.xml -S /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/../build/intermediates/res/merged -A /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/../build/assets -I /tmp/android7008198560762196374.jar -F /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/../build/deploy/MIT AI2 Companion.ap_ -m -J /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/../build/generated/src --custom-package edu.mit.appinventor.aicompanion3 --output-text-symbols /tmp/1644768656993_0.5146177044871354-0/youngandroidproject/../build/generated/symbols --no-version-vectors
[java] /tmp/aapt4643218635649073848: 1: ELF: not found
[java] /tmp/aapt4643218635649073848: 2: Syntax error: "(" unexpected
[java] Feb 13, 2022 5:11:14 PM com.google.appinventor.buildserver.Compiler runAaptPackage
[java] WARNUNG: YAIL compiler - AAPT execution failed.
BUILD FAILED
/home/pi/appinventor-sources/appinventor/build.xml:21: The following error occurred while executing this line:
/home/pi/appinventor-sources/appinventor/buildserver/build.xml:199: Java returned: 1
Total time: 40 seconds
What i actually tried:
- RapsberryOS 32/64 bit
- jdk-8 / openjdk-8 / jdk-11 / openjdk-11
- installing android sdk and copy aapt, aapt2, ...