[Q] compile error (aokp 4.2) - AOKP Q&A

Compiling SDK Stubs: /home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
Install: /home/asyan4ik/firmware/aokp/out/target/product/hwmt1_u06/system/app/Settings.apk
target R.java/Manifest.java: SettingsProvider (/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/src/R.stamp)
Symlink: /home/asyan4ik/firmware/aokp/out/target/product/hwmt1_u06/system/bin/su -> /system/xbin/su
target Java: SettingsProvider (/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes)
Note: frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Copying: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes-jarjar.jar
Copying: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes.jar
Proguard: /home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/proguard.classes.jar
ProGuard, version 4.4
Reading program jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Reading library jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java:5: warning: [unchecked] unchecked conversion
found : java.lang.ref.ReferenceQueue
required: java.lang.ref.ReferenceQueue<? super org.apache.http.impl.conn.tsccm.BasicPoolEntry>
public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue) { super(null,(java.lang.ref.ReferenceQueue)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/security/cert/PKIXBuilderParameters.java:5: warning: [unchecked] unchecked conversion
found : java.util.Set
required: java.util.Set<java.security.cert.TrustAnchor>
public PKIXBuilderParameters(java.util.Set<java.security.cert.TrustAnchor> trustAnchors, java.security.cert.CertSelector targetConstraints) throws java.security.InvalidAlgorithmParameterException { super((java.util.Set)null); throw new RuntimeException("Stub!"); }
^
Preparing output jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/asyan4ik/firmware/aokp/out/target/common/obj/APPS/SettingsProvider_intermediates/classes.jar]
target Dex: SettingsProvider
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:6: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:7: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:8: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:9: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 warnings
res/drawable-land-hdp�/jog_tab_bar_right_end_confirm_gray.9.png: mismatching "local" filename (res/drawable-land-hdpi/jog_tab_bar_right_end_confirm_gray.9.png),
continuing with "central" filename version
make: *** [/home/asyan4ik/firmware/aokp/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] Ошибка 1
make: *** Ожидание завершения заданий...
how to fix ?

Related

[Q] android os(froyo) compile error

OS : ubuntu 10.04 LTS
JDK : sun-java1.5.0-jdk
~/froyo$ make clean && make clobber
~/froyo$ make -j2
**** error message ****
frameworks/base/core/java/com/android/internal/os/ZygoteInit.java:554: cannot find symbol
symbol : method forkSystemServer(int,int,int[],int,<nulltype>,long,long)
location: class dalvik.system.Zygote
pid = Zygote.forkSystemServer(
^
target Strip: gralloc.default (out/target/product/generic/obj/lib/gralloc.default.so)
target Strip: sensors.goldfish (out/target/product/generic/obj/lib/sensors.goldfish.so)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
*****************************************************************************************************
What's wrong?! help pleases...

[DEV] Building with Trackball Wake/Unlock

Hi, Ive been researching about building Gingerbread, I followed the guide on the forum, I wanted to add TB Wake on my nexus one (for Oxygen 2.3.2), I got this changes:
https://github.com/CyanogenMod/andr...mmit/88c07d2fd8419a287d6ed56ad6b1aab583b63ed3
https://github.com/CyanogenMod/andr...mmit/809be3bf813258434b98c0987e38d58b28edab6c
https://github.com/CyanogenMod/andr...mmit/17a5669474c01b0e49b8e1dd65e92c9c0a68e2ca
on several files (inputManager.cpp, inputdispatcher.cpp/header, inputdispatcher_test.cpp, inputReader.cpp, Lockscreen.java, phonewindowmanager.java).
At compile time I get this error:
Code:
target Java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/classes)
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java:341: cannot find symbol
symbol : variable TRACKBALL_WAKE_SCREEN
location: class android.provider.Settings.System
Settings.System.TRACKBALL_WAKE_SCREEN), false, this);
^
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java:711: cannot find symbol
symbol : variable TRACKBALL_WAKE_SCREEN
location: class android.provider.Settings.System
Settings.System.TRACKBALL_WAKE_SCREEN, 0) == 1);
^
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java:1897: cannot find symbol
symbol : variable isWakeKey
location: class com.android.internal.policy.impl.PhoneWindowManager
+ " isWakeKey=" +isWakeKey);
^
frameworks/base/policy/src/com/android/internal/policy/impl/LockScreen.java:99: cannot find symbol
symbol : variable TRACKBALL_UNLOCK_SCREEN
location: class android.provider.Settings.System
Settings.System.TRACKBALL_UNLOCK_SCREEN, 0) == 1);
^
frameworks/base/policy/src/com/android/internal/policy/impl/LockScreen.java:102: cannot find symbol
symbol : variable MENU_UNLOCK_SCREEN
location: class android.provider.Settings.System
Settings.System.MENU_UNLOCK_SCREEN, 0) == 1);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors
14 warnings
make: *** [out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Could you give any hint, I see a lot of posts on what files to get TB Wake/Unlock that always involve only the above files, but I'm missing something, where I could define that system settings or where can I search
Hi ertoalb
OxygeN1mod already has the trackball wake feature?! You can find it in the display settings.
Sent from my Nexus One using xda premium
Hi, yeah I've used OxygeN1mod before, but I wanted to build the rom (with modifications) by myself, the TB Wake and FM radio (wich are present on N1mod rom)

[Question]Compiling AOSP gingerbread , RIL.java error

I am compiling the AOSP Gingerbread 2.3.7 for Samsung Galaxy Fit. I have made a successful build but now i am fixing the RIL for the incoming Calls. I am using the cyanogenmod 7.2 sources to patch the AOSP source , but i am getting these errors
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
Please help me and please fix this problem.

[Q] [AOSP Gingerbread][Help]Compiling RIL.java

I am compiling AOSP GIngerbread 2.3.7 for Samsung Galaxy Fit. I am using the Cyanogenmod 7.2 to patch the incoming call bug in the AOSP but unfortunaltely the last error which i am recieving is this while compiling
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
There is a humble request for all the devs is to help me out in the project

Build for GT-P52109

Hello, I tried to build ubuntu touch for Galaxy TAB3 10.5 (santos10wifi : gt-p5210)
I need help about an error message because I don't understand where is the error.
Code:
Install: /home/jimy/Desktop/phablet/out/host/linux-x86/lib/libz-host.so
Import includes file: /home/jimy/Desktop/phablet/out/target/product/p5210/obj/EXECUTABLES/InputDispatcher_test_intermediates/import_includes
target C++: InputDispatcher_test <= frameworks/base/services/input/tests/InputDispatcher_test.cpp
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/../include/limits.h:143,
from external/stlport/stlport/limits.h:30,
from frameworks/base/services/input/tests/../InputDispatcher.h:34,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:17:
/usr/include/bits/local_lim.h:64:0: warning: "PTHREAD_KEYS_MAX" redefined [enabled by default]
In file included from bionic/libc/include/limits.h:86:0,
from /usr/include/../include/limits.h:123,
from external/stlport/stlport/limits.h:30,
from frameworks/base/services/input/tests/../InputDispatcher.h:34,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:17:
bionic/libc/include/sys/limits.h:181:0: note: this is the location of the previous definition
In file included from /usr/include/../include/wchar.h:884:0,
from external/stlport/stlport/stl/_cwchar.h:68,
from external/stlport/stlport/stl/_limits.h:36,
from external/stlport/stlport/limits:29,
from external/gtest/include/gtest/gtest.h:54,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:19:
/usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong"
In file included from external/stlport/stlport/stl/_cwchar.h:68:0,
from external/stlport/stlport/stl/_limits.h:36,
from external/stlport/stlport/limits:29,
from external/gtest/include/gtest/gtest.h:54,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:19:
/usr/include/../include/wchar.h: In function 'int wctob(wint_t)':
/usr/include/../include/wchar.h:395:50: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
build/core/binary.mk:432: recipe for target '/home/jimy/Desktop/phablet/out/target/product/p5210/obj/EXECUTABLES/InputDispatcher_test_intermediates/InputDispatcher_test.o' failed
make: *** [/home/jimy/Desktop/phablet/out/target/product/p5210/obj/EXECUTABLES/InputDispatcher_test_intermediates/InputDispatcher_test.o] Error 1
Could someone help me ?

Categories

Resources