wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Andoid Build Error #1289

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to build an Android App like usual, but today the server is sending me 
an error, the log is this:

Executing: /home/ec2-user/android-sdk/tools/android create project --target 
android-21 --name aBrokerage --path /tmp/build6377186412415316242xxx/aBrokerage 
--activity aBrokerageStub --package com.marza.aBrokerage Created directory 
/tmp/build6377186412415316242xxx/aBrokerage/src/com/marza/aBrokerage
Added file 
/tmp/build6377186412415316242xxx/aBrokerage/src/com/marza/aBrokerage/aBrokerageS
tub.java
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res
Created directory /tmp/build6377186412415316242xxx/aBrokerage/bin
Created directory /tmp/build6377186412415316242xxx/aBrokerage/libs
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res/values
Added file /tmp/build6377186412415316242xxx/aBrokerage/res/values/strings.xml
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res/layout
Added file /tmp/build6377186412415316242xxx/aBrokerage/res/layout/main.xml
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res/drawable-xhdpi
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res/drawable-hdpi
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res/drawable-mdpi
Created directory /tmp/build6377186412415316242xxx/aBrokerage/res/drawable-ldpi
Added file /tmp/build6377186412415316242xxx/aBrokerage/AndroidManifest.xml
Added file /tmp/build6377186412415316242xxx/aBrokerage/build.xml
Added file /tmp/build6377186412415316242xxx/aBrokerage/proguard-project.txt
Executing: /home/ec2-user/android/ant/bin/ant release Buildfile: 
/tmp/build6377186412415316242xxx/aBrokerage/build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is proguard.cfg
     [echo] Proguard.config is enabled

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 23.0.5
 [checkenv] Installed at /home/ec2-user/android-sdk

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

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
     [echo] Resolving Build Target for aBrokerage...
[gettarget] Project Target:   Android 5.0
[gettarget] API level:        21
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /tmp/build6377186412415316242xxx/aBrokerage/bin/res
    [mkdir] Created dir: /tmp/build6377186412415316242xxx/aBrokerage/bin/rsObj
    [mkdir] Created dir: /tmp/build6377186412415316242xxx/aBrokerage/bin/rsLibs
    [mkdir] Created dir: /tmp/build6377186412415316242xxx/aBrokerage/gen
    [mkdir] Created dir: /tmp/build6377186412415316242xxx/aBrokerage/bin/classes
    [mkdir] Created dir: /tmp/build6377186412415316242xxx/aBrokerage/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for aBrokerage...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'release'...
   [subant] No sub-builds to iterate on

-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 411 source files to /tmp/build6377186412415316242xxx/aBrokerage/bin/classes
    [javac] /tmp/build6377186412415316242xxx/aBrokerage/src/com/marza/aBrokerage/aBrokerageStub.java:23: error: cannot find symbol
    [javac]     private static aBrokerage i;
    [javac]                    ^
    [javac]   symbol:   class aBrokerage
    [javac]   location: class aBrokerageStub
    [javac] /tmp/build6377186412415316242xxx/aBrokerage/src/com/marza/aBrokerage/aBrokerageStub.java:28: error: cannot find symbol
    [javac]     public static aBrokerage getAppInstance() {
    [javac]                   ^
    [javac]   symbol:   class aBrokerage
    [javac]   location: class aBrokerageStub
    [javac] /tmp/build6377186412415316242xxx/aBrokerage/src/com/marza/aBrokerage/aBrokerageStub.java:60: error: cannot find symbol
    [javac]              i = new aBrokerage();
    [javac]                      ^
    [javac]   symbol:   class aBrokerage
    [javac]   location: class aBrokerageStub
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:720: The following error 
occurred while executing this line:
/home/ec2-user/android-sdk/tools/ant/build.xml:734: Compile failed; see the 
compiler error output for details.

Total time: 12 seconds

-------------------------------------
Is the first time I receive an error like this,

Please help me with this issue.
Thanks in advance.

Manuel

Original issue reported on code.google.com by manolete...@gmail.com on 15 Jan 2015 at 6:46

GoogleCodeExporter commented 9 years ago
Never mind this issue, I found my mistake. Sorry!
Please close this.

Original comment by manolete...@gmail.com on 15 Jan 2015 at 7:46

GoogleCodeExporter commented 9 years ago
Closing, thanks

Original comment by cf27...@gmail.com on 28 Jan 2015 at 8:08