Omni rom unable to build. - Omni Q&A

Hey guys.
I built omni rom few time already, but since few day i can't.
here's my error:
http://pastebin.com/NVSZDxBp
something related to com.android.dreams.phototable i tried resync a clean repo but still same error.
Do you have any idea?
Thanks.

Did you cherry pick multi-windows or anything else before starting the build?

sevenup30 said:
Hey guys.
I built omni rom few time already, but since few day i can't.
here's my error:
http://pastebin.com/NVSZDxBp
something related to com.android.dreams.phototable i tried resync a clean repo but still same error.
Do you have any idea?
Thanks.
Click to expand...
Click to collapse
repo sync and do a build

chasmodo said:
Did you cherry pick multi-windows or anything else before starting the build?
Click to expand...
Click to collapse
I first thought about it, but even after repo sync or git rebase the error was there, so I tried make a fresh repo init in different directory.
mithun46 said:
repo sync and do a build
Click to expand...
Click to collapse
I remake a repo sync and error still the same.
I'll try to clobber build again.
here the latest error:
Note: the configuration refers to the unknown class 'java.lang.String'
Note: the configuration refers to the unknown class 'java.lang.Class'
Note: the configuration refers to the unknown class 'java.lang.String'
Note: the configuration refers to the unknown class 'java.lang.Class'
Note: the configuration refers to the unknown class 'java.lang.String'
Note: the configuration refers to the unknown class 'java.io.Serializable'
Note: the configuration refers to the unknown class 'java.io.Serializable'
Note: the configuration refers to the unknown class 'java.ibjectStreamField'
Note: the configuration refers to the unknown class 'java.ibjectOutputStream'
Note: the configuration refers to the unknown class 'java.ibjectInputStream'
Note: the configuration refers to the unknown class 'java.lang.Object'
Note: the configuration refers to the unknown class 'java.lang.Object'
Note: the configuration refers to the unknown class 'com.android.quicksearchbox.preferences.SearchableItemsActivity'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ReferenceEntry newEntry(java.lang.Object,int,com.google.common.cache.LocalCache$ReferenceEntry); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ReferenceEntry copyEntry(com.google.common.cache.LocalCache$ReferenceEntry,com.google.common.cache.LocalCache$ReferenceEntry); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ReferenceEntry copyEntry(com.google.common.cache.LocalCache$ReferenceEntry,com.google.common.cache.LocalCache$ReferenceEntry); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ValueReference newValueReference(com.google.common.cache.LocalCache$ReferenceEntry,java.lang.Object,int); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { ShortcutRepositoryImplLog(android.content.Context,com.android.quicksearchbox.Config,com.android.quicksearchbox.Corpora,com.android.quicksearchbox.ShortcutRefresher,android.os.Handler,java.util.concurrent.Executor,java.lang.String); }', but not the descriptor class 'com.android.quicksearchbox.Config'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { ShortcutRepositoryImplLog(android.content.Context,com.android.quicksearchbox.Config,com.android.quicksearchbox.Corpora,com.android.quicksearchbox.ShortcutRefresher,android.os.Handler,java.util.concurrent.Executor,java.lang.String); }', but not the descriptor class 'com.android.quicksearchbox.Corpora'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { ShortcutRepositoryImplLog(android.content.Context,com.android.quicksearchbox.Config,com.android.quicksearchbox.Corpora,com.android.quicksearchbox.ShortcutRefresher,android.os.Handler,java.util.concurrent.Executor,java.lang.String); }', but not the descriptor class 'com.android.quicksearchbox.ShortcutRefresher'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { void refreshShortcut(com.android.quicksearchbox.Source,java.lang.String,com.android.quicksearchbox.SuggestionCursor); }', but not the descriptor class 'com.android.quicksearchbox.Source'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutPromoter { void promoteShortcuts(com.android.quicksearchbox.SuggestionCursor,int,com.android.quicksearchbox.ListSuggestionCursor); }', but not the descriptor class 'com.android.quicksearchbox.SuggestionCursor'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.LevenshteinSuggestionFormatter { int[] findMatches(com.android.quicksearchbox.util.LevenshteinDistance$Token[],com.android.quicksearchbox.util.LevenshteinDistance$Token[]); }', but not the descriptor class 'com.android.quicksearchbox.util.LevenshteinDistance$Token'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutCursor { ShortcutCursor(java.lang.String,android.os.Handler,com.android.quicksearchbox.ShortcutRefresher,com.android.quicksearchbox.ShortcutRepository); }', but not the descriptor class 'com.android.quicksearchbox.ShortcutRefresher'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ReferenceEntry newEntry(java.lang.Object,int,com.google.common.collect.MapMakerInternalMap$ReferenceEntry); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ReferenceEntry copyEntry(com.google.common.collect.MapMakerInternalMap$ReferenceEntry,com.google.common.collect.MapMakerInternalMap$ReferenceEntry); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ReferenceEntry copyEntry(com.google.common.collect.MapMakerInternalMap$ReferenceEntry,com.google.common.collect.MapMakerInternalMap$ReferenceEntry); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ValueReference newValueReference(com.google.common.collect.MapMakerInternalMap$ReferenceEntry,java.lang.Object); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: there were 13 references to unknown classes.
You should check your configuration for typos.
Note: there were 15 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using '-keep').
Note: there were 3 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Warning: there were 61575 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars'),
or perhaps the '-dontskipnonpubliclibraryclasses' option.
Warning: there were 337 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile them and try again.
Alternatively, you may have to specify the options
'-dontskipnonpubliclibraryclasses' and/or
'-dontskipnonpubliclibraryclassmembers'.
Error: Please correct the above warnings first.
make: *** [/home/seven/android_source/omni2/out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1

sevenup30 said:
I first thought about it, but even after repo sync or git rebase the error was there, so I tried make a fresh repo init in different directory.
I remake a repo sync and error still the same.
I'll try to clobber build again.
here the latest error:
Note: the configuration refers to the unknown class 'java.lang.String'
Note: the configuration refers to the unknown class 'java.lang.Class'
Note: the configuration refers to the unknown class 'java.lang.String'
Note: the configuration refers to the unknown class 'java.lang.Class'
Note: the configuration refers to the unknown class 'java.lang.String'
Note: the configuration refers to the unknown class 'java.io.Serializable'
Note: the configuration refers to the unknown class 'java.io.Serializable'
Note: the configuration refers to the unknown class 'java.ibjectStreamField'
Note: the configuration refers to the unknown class 'java.ibjectOutputStream'
Note: the configuration refers to the unknown class 'java.ibjectInputStream'
Note: the configuration refers to the unknown class 'java.lang.Object'
Note: the configuration refers to the unknown class 'java.lang.Object'
Note: the configuration refers to the unknown class 'com.android.quicksearchbox.preferences.SearchableItemsActivity'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ReferenceEntry newEntry(java.lang.Object,int,com.google.common.cache.LocalCache$ReferenceEntry); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ReferenceEntry copyEntry(com.google.common.cache.LocalCache$ReferenceEntry,com.google.common.cache.LocalCache$ReferenceEntry); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ReferenceEntry copyEntry(com.google.common.cache.LocalCache$ReferenceEntry,com.google.common.cache.LocalCache$ReferenceEntry); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.cache.LocalCache { com.google.common.cache.LocalCache$ValueReference newValueReference(com.google.common.cache.LocalCache$ReferenceEntry,java.lang.Object,int); }', but not the descriptor class 'com.google.common.cache.LocalCache$ReferenceEntry'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { ShortcutRepositoryImplLog(android.content.Context,com.android.quicksearchbox.Config,com.android.quicksearchbox.Corpora,com.android.quicksearchbox.ShortcutRefresher,android.os.Handler,java.util.concurrent.Executor,java.lang.String); }', but not the descriptor class 'com.android.quicksearchbox.Config'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { ShortcutRepositoryImplLog(android.content.Context,com.android.quicksearchbox.Config,com.android.quicksearchbox.Corpora,com.android.quicksearchbox.ShortcutRefresher,android.os.Handler,java.util.concurrent.Executor,java.lang.String); }', but not the descriptor class 'com.android.quicksearchbox.Corpora'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { ShortcutRepositoryImplLog(android.content.Context,com.android.quicksearchbox.Config,com.android.quicksearchbox.Corpora,com.android.quicksearchbox.ShortcutRefresher,android.os.Handler,java.util.concurrent.Executor,java.lang.String); }', but not the descriptor class 'com.android.quicksearchbox.ShortcutRefresher'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutRepositoryImplLog { void refreshShortcut(com.android.quicksearchbox.Source,java.lang.String,com.android.quicksearchbox.SuggestionCursor); }', but not the descriptor class 'com.android.quicksearchbox.Source'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutPromoter { void promoteShortcuts(com.android.quicksearchbox.SuggestionCursor,int,com.android.quicksearchbox.ListSuggestionCursor); }', but not the descriptor class 'com.android.quicksearchbox.SuggestionCursor'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.LevenshteinSuggestionFormatter { int[] findMatches(com.android.quicksearchbox.util.LevenshteinDistance$Token[],com.android.quicksearchbox.util.LevenshteinDistance$Token[]); }', but not the descriptor class 'com.android.quicksearchbox.util.LevenshteinDistance$Token'
Note: the configuration keeps the entry point 'com.android.quicksearchbox.ShortcutCursor { ShortcutCursor(java.lang.String,android.os.Handler,com.android.quicksearchbox.ShortcutRefresher,com.android.quicksearchbox.ShortcutRepository); }', but not the descriptor class 'com.android.quicksearchbox.ShortcutRefresher'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ReferenceEntry newEntry(java.lang.Object,int,com.google.common.collect.MapMakerInternalMap$ReferenceEntry); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ReferenceEntry copyEntry(com.google.common.collect.MapMakerInternalMap$ReferenceEntry,com.google.common.collect.MapMakerInternalMap$ReferenceEntry); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ReferenceEntry copyEntry(com.google.common.collect.MapMakerInternalMap$ReferenceEntry,com.google.common.collect.MapMakerInternalMap$ReferenceEntry); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: the configuration keeps the entry point 'com.google.common.collect.MapMakerInternalMap { com.google.common.collect.MapMakerInternalMap$ValueReference newValueReference(com.google.common.collect.MapMakerInternalMap$ReferenceEntry,java.lang.Object); }', but not the descriptor class 'com.google.common.collect.MapMakerInternalMap$ReferenceEntry'
Note: there were 13 references to unknown classes.
You should check your configuration for typos.
Note: there were 15 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using '-keep').
Note: there were 3 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Warning: there were 61575 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars'),
or perhaps the '-dontskipnonpubliclibraryclasses' option.
Warning: there were 337 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile them and try again.
Alternatively, you may have to specify the options
'-dontskipnonpubliclibraryclasses' and/or
'-dontskipnonpubliclibraryclassmembers'.
Error: Please correct the above warnings first.
make: *** [/home/seven/android_source/omni2/out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1
Click to expand...
Click to collapse
You have seriously done something with your repo dude

freaking insane.
I don't get it, still the same issue, I just make a repo init and still have this issue.
Maybe it's related to my device tree? I'm trying to make a build for mako i'll see if it works.
which java version do you have?
I do have
Code:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

sevenup30 said:
freaking insane.
I don't get it, still the same issue, I just make a repo init and still have this issue.
Maybe it's related to my device tree? I'm trying to make a build for mako i'll see if it works.
which java version do you have?
I do have
Code:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
Click to expand...
Click to collapse
What are you getting when you do a javac -version ?
Sent from my Nexus 10 using Tapatalk 4

scanno said:
What are you getting when you do a javac -version ?
Sent from my Nexus 10 using Tapatalk 4
Click to expand...
Click to collapse
javac 1.6.0_45

switching to java7 seems to done the trick.... I'll see if build boot now.

Related

Win32 Mode Failure to set text in static control

I have a problem in setting controls in a Win32 application.
When I use SendMessage to set a text string in a static control I get error number 120 which translated means: "This function is only valid in Win32 mode."
Here's the background:
I'm using Visual Studio 2005, I've installed the Windows Mobile 5 SDK.
The project was created using the New Project Wizard, with the following settings:
Visual C++/Smart Device
Win32 Smart Device Project
Platform SDK is: Windows Mobile 5.0 Pocket PC SDK
Windows application
I've added a dialog template resource and can bring up a dialog based on that resource. It contains a static control that I can read the text from, but attempting to set the text gives me the above error.
The relevent code (within the WM_INITDIALOG message handler) is:
Code:
char buffer[100];
HWND hCtrl = ::GetDlgItem(hDlg, IDC_TITLE);
LRESULT result = ::SendMessage(hCtrl, WM_GETTEXT, (WPARAM)80, (LPARAM)buffer);
This works, I get the correct text (ie the text I have placed into the static control using the dialog template editor) copied into the buffer. What follows is:
Code:
buffer[0] = 'A'; // Just to set up a different string
result = ::SendMessage(hCtrl, WM_SETTEXT, (WPARAM)0, (LPARAM)buffer);
if (result == 0)
{
LPVOID lpMsgBuf;
DWORD error = ::GetLastError();
::FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error, 0, (LPTSTR)&lpMsgBuf, 0, NULL);
::MessageBox(NULL, (LPCTSTR)lpMsgBuf, (LPCWSTR)"LError", MB_OK | MB_ICONINFORMATION);
::LocalFree(lpMsgBuf);
}
The attempt to set the changed text string fails (ie result == 0), and the last error is 120, which is translated to the error message above.
This works the same in both the Windows Mobile 5 emulator, and if I run it on my Atom.
What does this mean? How could it be anything other than Win32 mode?
Is there a function or something I have to call to put it into Win32 mode?
Or is it a project setting in VS2005 that I haven't been able to find?
I'd very much appreciate any help on this.
Peter
Your build target was a PPC 2003 variant for this project, correct? If so (and I'm assuming that it is so because you mention trying this on the PPC emulator), then you are most certainly not in Win32 mode, rather you are targeting WinCE. To target win32, you need to go into configuration manager and change your target at which point your program will no longer run on PPC.
More to your problem: I don't believe that you can dynamically change dialog static control properties through messaging on WinCE. I may be wrong on this here though too....

[Q] Context and this problem

I have the following two classes:
Code:
public class filechooser extends ListActivity{
private File f;
private fileArrayAdapter adapter;
public filechooser(File f2){
f = f2;
}
public void fill(){
......
adapter = new fileArrayAdapter(this, R.layout.file_view, dir); //get problems
this.setListAdapter(adapter);
}
}
and the other class
Code:
public class fileArrayAdapter extends ArrayAdapter<fc_option>{
private Context c;
private int id;
private List<fc_option>items;
public fileArrayAdapter(Context context, int textViewResourceId, List<fc_option> obj){
[B]super(context, textViewResourceId, obj);[/B]
c = context;
id = textViewResourceId;
items = obj;
}
public fc_option getItem(int i){
return items.get(i);
}
I checked that when the code is running to super(context...), a run time error occurs. But I have no idea what the problem is, could anyone help, please?
Thank you.
Why don't you say what kind of exception the runtime error is?
sorry, I dont know how to check. Where could I get the error?
I dont know how to use the eclipse debugger..
You need to open the DDMS perspective in eclipse and then look at the logcat log while your app is running. When it hits a runtime error there will be a load of red text in the log which will tell you what kind of exception it it and which line of code it comes from.
Thank you.
I got the following error
11-14 02:42:36.502: ERROR/AndroidRuntime(249): Uncaught handler: thread main exiting due to uncaught exception
11-14 02:42:36.522: ERROR/AndroidRuntime(249): java.lang.IllegalStateException: System services not available to Activities before onCreate()
Did I miss catching the exception in some code?

[Q] Compile CM7 from Source for Galaxy Tab - Case Study

Im trying to compile cm7 to learn how to and I'm getting an error on compile.
I've found on XDA some topics with same issue but without solution and I don't know if this thread is valid.
But its very annoying send PM to ask about this and I prefer make this public.
I'm getting this error on build:
make: *** No rule to make target `otapackage'. Stop.
following this tutorial: Build_CyanogenMod_for_Samsung_GalaxyTab
and specifically at this line:
make -j`grep 'processor' /proc/cpuinfo | wc -l` CYANOGEN_WITH_GOOGLE=true otapackage
can someone help on this ?
I have no idea how to proceed.
thanks in advance.
You're missing something. Check that you have no unresolved dependencies. also try it without CYANOGEN_WITH_GOOGLE=true and see what, if any, error it throws.
the error is the same i've compared all lines.
take a look on complete output :
http://pastebin.com/2QfpbdV0
any ideas?
It looks like your build environment is off.
sudo apt-get/aptitude update
sync android again
Make sure you have the appropriate libraries for your architecture (32/64)
Also, if you're using Ubuntu, make sure you have the right Java repositories for your version.
On Ubuntu 10.10+ you need to add repositories to get Sun Java (or Oracle Java, I suppose). I don't think the open JDK stuff works properly. I may be wrong
i think my ubuntu is configured because i'm able to compile p1000 kernel with it.
there's another thing to verify?
I've ran repo sync again, buildmodules from galaxytab/tools but the same problem...
hello
Galaxy Tab P1000 to my device
pit = P1_add_hidden
pda = P1000XWJMI-REV03-ALL-CL869777.tar
phone = MODEM_P1000XXJMA.tar
csc = GT-P1000-CSC-SERJM4.tar
has failed my first installation on pc
whether the pit again, when I successfully finished the installation
but when the tab restart
GALAXY TAB
SAMSUNG
article remains
Can you help
(downloading part of the input device is able to, the same problem I tried to install the older roms)
Can you help to have a very short time to
please
bilal
ivannw said:
i think my ubuntu is configured because i'm able to compile p1000 kernel with it.
there's another thing to verify?
Click to expand...
Click to collapse
Not really. This sort of resource issue is so specific and unique to each computer/build environment that someone would almost have to be standing over your shoulder following along to tell you EXACTLY what is going wrong... Unless they have had an identical issue, and I haven't. If everything checks out as per above, I would reinstall everything starting with linux and find a more complete guide for the specific task you are undertaking and try again.
Failing that, you can download a copy of the Gentoo Linux install (compile it yourself, not with the GUI version) and use their guide step by step. Once that is done, grab the Android SDK and head over to hackaday and follow thier Android 101 guide to its end. Do this, and you'll be a pro at compiling from source and the basics of android. You will have learned more than you would have in any 200 level undergrad course and it wont even take you more than three or four days. After that, try again and it's likely that you'll spot the problem before it even crops up again.
spacemoose1, thanks for your help.
I'll create a new VM with your considerations to study more and more.
BTW, I got a new status, now the make stops on this error;
Code:
target Java: MagicSmokeWallpapers (out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/PowerWidgetActivity.java:20: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
target Java: Music3 (out/target/common/obj/APPS/Music3_intermediates/classes)
target Java: Nfc (out/target/common/obj/APPS/Nfc_intermediates/classes)
Note: frameworks/base/tests/LocationTracker/src/com/android/locationtracker/TrackerService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target Java: NinePatchLab (out/target/common/obj/APPS/NinePatchLab_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/PowerWidgetActivity.java:140: cannot find symbol
symbol : variable WimaxConstants
location: class com.cyanogenmod.cmparts.activities.PowerWidgetActivity
if (!WimaxConstants.isWimaxSupported(this)) {
^
target Java: Pacman (out/target/common/obj/APPS/Pacman_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:53: cannot find symbol
symbol : variable STATUS_BAR_CLOCK
location: class android.provider.Settings.System
Settings.System.STATUS_BAR_CLOCK, 1) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:55: cannot find symbol
symbol : variable STATUS_BAR_CM_BATTERY
location: class android.provider.Settings.System
Settings.System.STATUS_BAR_CM_BATTERY, 0) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:65: cannot find symbol
symbol : variable STATUS_BAR_CLOCK
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_CLOCK,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:70: cannot find symbol
symbol : variable STATUS_BAR_CM_BATTERY
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_CM_BATTERY,
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:8: package com.android.wimax does not exist
import com.android.wimax.WimaxSettingsHelper;
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:9: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
packages/apps/Settings/src/com/android/settings/widget/SettingsAppWidgetProvider.java:38: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:5: package com.android.wimax does not exist
import com.android.wimax.WimaxSettingsHelper;
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:6: package com.android.wimax does not exist
import com.android.wimax.WimaxConstants;
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:37: package com.android.settings.wimax does not exist
import com.android.settings.wimax.WimaxEnabler;
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:61: cannot find symbol
symbol : class WimaxEnabler
location: class com.android.settings.WirelessSettings
private WimaxEnabler mWimaxEnabler;
^
make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:30: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:30: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:39: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:39: cannot find symbol
symbol : class WimaxSettingsHelper
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
final WimaxSettingsHelper helper = new WimaxSettingsHelper(context);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:60: package WimaxConstants does not exist
if (!WimaxConstants.WIMAX_ENABLED_CHANGED_ACTION.equals(intent.getAction())) {
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:63: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
int wimaxState = intent.getIntExtra(WimaxConstants.CURRENT_WIMAX_ENABLED_STATE, WimaxConstants.WIMAX_ENABLED_STATE_UNKNOWN);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:63: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
int wimaxState = intent.getIntExtra(WimaxConstants.CURRENT_WIMAX_ENABLED_STATE, WimaxConstants.WIMAX_ENABLED_STATE_UNKNOWN);
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:74: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_DISABLED:
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:76: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_ENABLED:
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:78: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_ENABLING:
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:80: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.buttons.WimaxButton.WimaxStateTracker
case WimaxConstants.WIMAX_ENABLED_STATE_DISABLING:
^
packages/apps/Settings/src/com/android/settings/widget/SettingsAppWidgetProvider.java:318: package WimaxConstants does not exist
} else if (WimaxConstants.WIMAX_ENABLED_CHANGED_ACTION.equals(intent.getAction())) {
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:307: cannot find symbol
symbol : variable WimaxConstants
location: class com.android.settings.widget.WidgetSettings
if (!WimaxConstants.isWimaxSupported(this)) {
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:108: cannot find symbol
symbol : class WimaxEnabler
location: class com.android.settings.WirelessSettings
mWimaxEnabler = new WimaxEnabler(this, getSystemService(Context.WIMAX_SERVICE), wimax);
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:108: cannot find symbol
symbol : variable WIMAX_SERVICE
location: class android.content.Context
mWimaxEnabler = new WimaxEnabler(this, getSystemService(Context.WIMAX_SERVICE), wimax);
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:128: cannot find symbol
symbol : variable RADIO_WIMAX
location: class android.provider.Settings.System
if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIMAX)) {
^
packages/apps/Settings/src/com/android/settings/WirelessSettings.java:144: cannot find symbol
symbol : variable WIMAX_SERVICE
location: class android.content.Context
if (getSystemService(Context.WIMAX_SERVICE) == null) {
^
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.
24 errors
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
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.
any idea?

How to build CM9/AOSP?

Hi
I just cloned tpruvot's (Epsylon's?) git tree but I fail to build it.
The errormessage I get is that I have no Nullable object.. what?
I have found this thread http://forum.xda-developers.com/newreply.php?do=newreply&p=21076345 with the same error message
Oogy said:
Code:
host Java: chimpchat (out/host/common/obj/JAVA_LIBRARIES/chimpchat_intermediates/classes)
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:26: cannot find symbol
symbol : class Nullable
location: package javax.annotation
import javax.annotation.Nullable;
^
target Dex: apache-xml-hostdex
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:61: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void reboot(@Nullable String into);
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:167: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void startActivity(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:167: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void startActivity(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:168: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:168: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:169: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
Collection<String> categories, Map<String, Object> extras, @Nullable String component,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:184: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void broadcastIntent(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:184: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
void broadcastIntent(@Nullable String uri, @Nullable String action,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:185: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:185: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
@Nullable String data, @Nullable String mimeType,
^
sdk/chimpchat/src/com/android/chimpchat/core/IChimpDevice.java:186: cannot find symbol
symbol : class Nullable
location: interface com.android.chimpchat.core.IChimpDevice
Collection<String> categories, Map<String, Object> extras, @Nullable String component,
^
sdk/chimpchat/src/com/android/chimpchat/adb/AdbChimpDevice.java:402: cannot find symbol
symbol : class Nullable
location: class com.android.chimpchat.adb.AdbChimpDevice
private static boolean isNullOrEmpty(@Nullable String string) {
^
13 errors
make: *** [out/host/common/obj/JAVA_LIBRARIES/chimpchat_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
But there is no solution other than reinstall JDK, which I have done like three times now. So what JDK release should I use? currently running JDK6 update 31.
EDIT: Forgot what linux dist, and I'm one of those crazy people who run linux from scratch -.- version 7.0
Try oracle java7.
I'm on Ubuntu.
---------------------------------------------------
Motorola Defy red lens
German Vodafone Froyo based
CM7.2 nightly 20120402 by Maniac
Yeah Jdk 7 should work...
Sent from my MB526 using xda premium
Questions go in the Q&A section, not the Dev section
Use Ubuntu 10.04 LTS , should provide lesser errors
Ace-ing all tests.
sakitobaki said:
Try oracle java7.
I'm on Ubuntu.
---------------------------------------------------
Motorola Defy red lens
German Vodafone Froyo based
CM7.2 nightly 20120402 by Maniac
Click to expand...
Click to collapse
nogoodusername said:
Yeah Jdk 7 should work...
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
Just installed and I did get past the earlier error message. Now it is whining about "target release 1.5 conflicts with default source release 1.7" why? And isn't Android 2.3+ using java version 1.6?
EmoBoiix3 said:
Use Ubuntu 10.04 LTS , should provide lesser errors
Ace-ing all tests.
Click to expand...
Click to collapse
I didn't create my own distribution based on LFS just to use Ubuntu. And I'm not going to learn anything from taking the short way around the problem. Ubuntu is when everything else fails.
Febernacke said:
Just installed and I did get past the earlier error message. Now it is whining about "target release 1.5 conflicts with default source release 1.7" why? And isn't Android 2.3+ using java version 1.6?
Click to expand...
Click to collapse
I'm in the same boat, trying to compile CM10, and found this thread. Java 1.6 and I get the IChimp Nullable errors, using 1.7 (on Ubuntu, for that matter) refuses to even compile with this error...
Everyone seems to treat Ubuntu as the distro of choice for compiling Android on, and it doesn't seem to work all that well for me... I would hate to see the errors people are getting on other distros...

[Q] Kltechnduo's Compile Error

Hi everybody,
I have a Galaxy S5 device, and I want to compile a rom package for it with code of CM12.1.
First I downloaded the CyanogenMod code from network, and configuration files for kltechnduo, klte and klte-common's device (such as vendor and kernel files).
Follow the CM official guide on wik, I compiled a rom package(fit for klte), but the package can't be flashing into my kltechnduo device with the right TWRP version(2.8.5.0).
Then I tried to compile another package which are fitting for kltechnduo device, and I got an error like this:
Code:
Import includes file: /home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/product/kltechnduo/obj/SHARED_LIBRARIES/libinputservice_intermediates/import_includes
make: *** No rule to make target '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/product/kltechnduo/obj/lib/libtime_genoff.so',
needed by '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/product/kltechnduo /obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED /libandroid_servers.so'。 Stop。
no .so files ?
kltechnduo/obj/lib/libtime_genoff.so
libandroid_servers_intermediates/LINKED/libandroid_servers.so
I tried to copy the klte's libtime_genoff.so and libandroid_servers_intermediates to the kltechnduo's out folder, and continue brunch kltechnduo, and another error:
Code:
make: *** No rule to make target '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/javalib.jar',
needed by '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS /SystemUI_intermediates/classes-full-debug.jar'。 Stop。
I dont know why it always through errors, I just copy the klte's lib to the kltechnduo, and continue complie it, then got other errors:
Code:
target Java: CMAccount (/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS/CMAccount_intermediates/classes)
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:52: Error : cannot find symbol
CustomTile.ExpandedItem[] items) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:75: Error : cannot find symbol
private CustomTile.ExpandedItem[] mItems;
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:83: Error : cannot find symbol
Context context, CustomTile.ExpandedItem[] items) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:100: Error : cannot find symbol
public CustomTile.ExpandedItem getItem(int position) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:79: Error : cannot find symbol
void onPsuedoGridItemClick(View view, CustomTile.ExpandedItem item);
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsList.java:100: Error : cannot find symbol
public static class QSCustomDetailListAdapter extends ArrayAdapter<CustomTile.ExpandedItem> {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsList.java:104: Error : cannot find symbol
List<CustomTile.ExpandedItem> objects) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:47: Error : cannot find symbol
private CustomTile.ExpandedStyle mExpandedStyle;
^
symbol: class ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:215: Error : cannot find symbol
public void onPsuedoGridItemClick(View view, CustomTile.ExpandedItem item) {
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:113: Error : cannot find symbol
CustomTile.ExpandedItem item = getItem(i);
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:134: Error : cannot find symbol
CustomTile.ExpandedItem item = (CustomTile.ExpandedItem) view.getTag();
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsGrid.java:134: Error : cannot find symbol
CustomTile.ExpandedItem item = (CustomTile.ExpandedItem) view.getTag();
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSDetailItemsList.java:117: Error : cannot find symbol
final CustomTile.ExpandedItem item = getItem(position);
^
symbol: class ExpandedItem
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:94: Error : cannot find symbol
mExpandedStyle.getStyle() != CustomTile.ExpandedStyle.NO_STYLE) {
^
symbol: variable ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:131: Error : cannot find symbol
mExpandedStyle = customTile.expandedStyle;
^
symbol: variable expandedStyle
location: Type CustomTile variable customTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:186: Error : cannot find symbol
case CustomTile.ExpandedStyle.GRID_STYLE:
^
symbol: variable ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:193: Error : cannot find symbol
case CustomTile.ExpandedStyle.LIST_STYLE:
^
symbol: variable ExpandedStyle
location: class CustomTile
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/CustomQSTile.java:210: Error : cannot find symbol
CustomTile.ExpandedItem item = mListAdapter.getItem(position);
^
symbol: class ExpandedItem
location: class CustomTile
18 Errors
build/core/java.mk:346: recipe for target '/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar' failed
make: *** [/home/kaisiyvn/projects/kltechnduo/CM12.1/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
I checked the log, and downloaded an old version to replace it, then complie it again....
Ok, completed successfully, I flashed my device with the out package, successfully and reboot, but, the device always cycling the bootanimation and became very hot, never entering the launcher.
At last I found there is an CM Official Nightly version for the kltechnduo on network, I downloaded it and flash it, it works well on my device.
Any body could tell me why I can't build an available package for kltechnduo?
Thank you very much~
Thank you very much~
Thank you very much~
^_^
Have same error on HTC One X with CM 12.1. Was your problem on Samsung solved? And how?
Thanks in advance.
Sent from my HTC One X using XDA Free mobile app
I have the same error on lg g2, see if someone can help us

Categories

Resources