zhuowei / MCPELauncher

Source code for BlockLauncher, a launcher that patches Minecraft for Android
Apache License 2.0
683 stars 189 forks source link

BUILD FAILED #265

Closed baccello closed 8 years ago

baccello commented 9 years ago

I can't build my BlockLauncher, I follow your guide perfectly but that is the result. What is wrong? Thanks. bac

Buildfile: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/build.xml

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: MCPELauncherApp
  [gettype] Project Type: Application

-pre-clean:

clean:
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/gen
[getlibpath] Library dependencies:
[getlibpath] 
[getlibpath] ------------------
[getlibpath] Ordered libraries:

nodeps:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: libsuperuser
  [gettype] Project Type: Android Library

-pre-clean:

clean:
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/gen

nodeps:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: aFileChooser
  [gettype] Project Type: Android Library

-pre-clean:

clean:
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/gen

nodeps:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: MCPELauncher
  [gettype] Project Type: Android Library

-pre-clean:

clean:
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin
   [delete] Deleting directory /home/ilaria/Scaricati/BLBUILD/MCPELauncher/gen

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: MCPELauncherApp
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
     [echo] Resolving Build Target for MCPELauncherApp...
[gettarget] Project Target:   Android 4.2.2
[gettarget] API level:        17
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin/res
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin/rsObj
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin/rsLibs
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/gen
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin/classes
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher-app/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for MCPELauncherApp...
[dependency] Ordered libraries:
[dependency] /home/ilaria/Scaricati/BLBUILD/MCPELauncher
[dependency] /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser
[dependency] /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: libsuperuser
  [gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
     [echo] Resolving Build Target for libsuperuser...
[gettarget] Project Target:   Android 2.3.3
[gettarget] API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/res
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/rsObj
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/rsLibs
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/gen
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/classes
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for libsuperuser...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 8 source files to /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/classes
     [echo] Creating library output jar file...
      [jar] Building jar: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/classes.jar

-post-compile:

-obfuscate:

-dex:
     [echo] Library project: do not convert bytecode...

-crunch:
   [crunch] Crunching PNG Files in source dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/res
   [crunch] To destination dir: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/res
   [crunch] Crunched 0 PNG files to update cache

-package-resources:
     [echo] Library project: do not package resources...

-package:
     [echo] Library project: do not package apk...

-post-package:

-do-debug:
     [echo] Library project: do not create apk...
[propertyfile] Creating new property file: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/build.prop
[propertyfile] Updating property file: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/build.prop
[propertyfile] Updating property file: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/build.prop
[propertyfile] Updating property file: /home/ilaria/Scaricati/BLBUILD/libsuperuser/libsuperuser/bin/build.prop

-post-build:

debug:

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: aFileChooser
  [gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
     [echo] Resolving Build Target for aFileChooser...
[gettarget] Project Target:   Android 2.3.3
[gettarget] API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/rsObj
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/rsLibs
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/gen
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/classes
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for aFileChooser...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 7 source files to /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/classes
     [echo] Creating library output jar file...
      [jar] Building jar: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/classes.jar

-post-compile:

-obfuscate:

-dex:
     [echo] Library project: do not convert bytecode...

-crunch:
   [crunch] Crunching PNG Files in source dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/res
   [crunch] To destination dir: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res
   [crunch] Processing image to cache: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/res/drawable/ic_chooser.png => /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res/drawable/ic_chooser.png
   [crunch]   (processed image to cache entry /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res/drawable/ic_chooser.png: 94% size of source)
   [crunch] Processing image to cache: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/res/drawable/ic_file.png => /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res/drawable/ic_file.png
   [crunch]   (processed image to cache entry /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res/drawable/ic_file.png: 75% size of source)
   [crunch] Processing image to cache: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/res/drawable/ic_folder.png => /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res/drawable/ic_folder.png
   [crunch]   (processed image to cache entry /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/res/drawable/ic_folder.png: 81% size of source)
   [crunch] Crunched 3 PNG files to update cache

-package-resources:
     [echo] Library project: do not package resources...

-package:
     [echo] Library project: do not package apk...

-post-package:

-do-debug:
     [echo] Library project: do not create apk...
[propertyfile] Creating new property file: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/build.prop
[propertyfile] Updating property file: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/build.prop
[propertyfile] Updating property file: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/build.prop
[propertyfile] Updating property file: /home/ilaria/Scaricati/BLBUILD/aFileChooser/aFileChooser/bin/build.prop

-post-build:

debug:

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 24.3.3
 [checkenv] Installed at /home/ilaria/Scaricati/android-sdk-linux

-setup:
     [echo] Project Name: MCPELauncher
  [gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
     [echo] Resolving Build Target for MCPELauncher...
[gettarget] Project Target:   Android 2.3.3
[gettarget] API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin/res
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin/rsObj
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin/rsLibs
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/gen
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin/classes
    [mkdir] Created dir: /home/ilaria/Scaricati/BLBUILD/MCPELauncher/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for MCPELauncher...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] /home/ilaria/Scaricati/BLBUILD/MCPELauncher/res/values-v11/style.xml:4: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Holo.ButtonBar'.
     [aapt] 
     [aapt] /home/ilaria/Scaricati/BLBUILD/MCPELauncher/res/values-v11/style.xml:7: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Button.Borderless'.
     [aapt] 

BUILD FAILED
/home/ilaria/Scaricati/android-sdk-linux/tools/ant/build.xml:597: The following error occurred while executing this line:
/home/ilaria/Scaricati/android-sdk-linux/tools/ant/build.xml:649: The following error occurred while executing this line:
/home/ilaria/Scaricati/android-sdk-linux/tools/ant/build.xml:694: null returned: 1

Total time: 17 seconds
baccello commented 9 years ago

I have taken them in this github, last commit for all 4 files.

slice commented 9 years ago

This version of BlockLauncher will not work with modern versions of Minecraft: Pocket Edition. @zhuowei, put a notice that the code is outdated?

zhuowei commented 9 years ago

Set the target in project.properties to android-19 (KitKat); your current target is 10 (Gingerbread) which can't build BlockLauncher