[AC-5052] Failed to build for android sdk 6.1.0GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-27T15:49:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI, Titanium SDK & CLI |
Labels | android |
Reporter | knd_rt@hotmail.com |
Assignee | Shak Hossain |
Created | 2017-06-23T03:38:33.000+0000 |
Updated | 2017-07-07T14:53:35.000+0000 |
Description
Since yesterday I can't build It suddenly stopped working, I updated to 6.1.0.GA with no luck.
Building Java source files: /usr/lib/jvm/java-8-oracle/bin/javac "-J-Xmx1024M" "-encoding" "utf8" "-bootclasspath" "/home/knd/android-sdk-linux/platforms/android-23/android.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/kroll-v8.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-analytics.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/aps-analytics.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-android.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/jaxen-1.1.1.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/ti-commons-codec-1.3.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/kroll-common.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/titanium.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-multidex.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-filesystem.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-app.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-ui.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/nineoldandroids-appc-2.4.0.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-media.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-appcompat.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-animated-vector-drawable.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-annotations.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-v4.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-v4-internal_impl.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-v7-appcompat.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/android-support-vector-drawable.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-cardview.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/cardview-v7-23.4.0.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-locale.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-network.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-xml.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-platform.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/modules/titanium-database.jar:/home/knd/.titanium/modules/android/hyperloop/2.1.1/hyperloop-android.jar:/home/knd/.titanium/modules/android/hyperloop/2.1.1/lib/dexmaker-1.4.jar:/home/knd/.titanium/modules/android/hyperloop/2.1.1/lib/dexmaker-dx-1.4.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/kroll-apt.jar:/home/knd/.titanium/mobilesdk/linux/6.1.0.GA/android/lib/titanium-verify.jar:R.class:AssetCryptImpl.class:BebimexActivity.class:BebimexAppInfo.class:BebimexApplication.class:VentasActivity.class:VentasAppInfo.class:VentasApplication.class" "-d" "/home/knd/ventasapp/build/android/bin/classes" "-proc:none" "-target" "1.6" "-source" "1.6" "@/home/knd/ventasapp/build/android/java-sources.txt"
[ERROR] Failed to compile Java source files:
[ERROR]
[ERROR] /home/knd/ventasapp/build/android/gen/com/rutas/bebimex/AssetCryptImpl.java:44: error: cannot find symbol
[ERROR] Range range = assets.get(path);
[ERROR] ^
[ERROR] symbol: variable assets
[ERROR] location: class AssetCryptImpl
[ERROR] /home/knd/ventasapp/build/android/gen/com/rutas/bebimex/AssetCryptImpl.java:48: error: cannot find symbol
[ERROR] return new String(filterDataInRange(assetsBytes, range.offset, range.length));
[ERROR] ^
[ERROR] symbol: variable assetsBytes
[ERROR] location: class AssetCryptImpl
[ERROR] Note: Some input files use unchecked or unsafe operations.
[ERROR] Note: Recompile with -Xlint:unchecked for details.
[ERROR] 2 errors
I moved to kernel kernel 4.10.0.22-generic and it works again.
This Issue can be closed. Ubuntu kernel 4.10.0.26-generic update compiles perfectly