[Q] ADW Theme Errors - Eclipse - Nexus One Themes and Apps

I have downloaded the most recent Theme Template from AnderWeb and I am (trying) to follow the instructions posted ... unfortunately I am not getting very far.
Fire up Eclipse and create a new Android project. I point it to the downloaded Theme Template directory as an existing project to use and click "Finish" (this is all per the instructions) and I end up getting the error:
Error: Invalid Project Description
Invalid project description.
/Users/me/Documents/eclipse_projects/AnderWeb-ADW.Theme-Template-d8491c4 overlaps the location of another project: 'AnderWeb-ADW.Theme-Template-d8491c4'
The first time I tried to point to this project, Eclipse didn't seem to be picking up the right info from the manifest ... it would only display 1.5 for the Build Target. Looking in the manifest, it declares SDK Ver. 4
If I go back and then repoint to the location again, everything seems to be ok but it still gives me the same error.
Is something up with the manifest?
I know there are a few other themers here that have played with ADW, so I am hoping someone else might be able to shed some light on this for me.
thanks in advance.

When I first was trying to make themes for ADW, I had errors building the theme if it wasn't in the sdk/platforms/android-8 folder. I don't know if this will help you, but you could try that.

david1171 said:
When I first was trying to make themes for ADW, I had errors building the theme if it wasn't in the sdk/platforms/android-8 folder. I don't know if this will help you, but you could try that.
Click to expand...
Click to collapse
Yep, I moved the project folder to the Android-8 directory and it loaded right up! Thanks a ton, David ... I mashed the Thanks button for you
Now let's hope the rest of it goes smoothly...

Just ran into the same problem, and in case anyone else is having it, all you need to do is make sure your unpacked ZIP file isn't in your eclipse_projects folder. Placing it anywhere else (including the android-8 folder mentioned above) will fix the problem.

Related

Launcher2 compiling/eclipse problems

ok guys i am trying to compile Launcher2 from source i am running ubuntu 9.1, with eclipse(for jave ee) 3.5.1 and adt installed. i have downloaded the source from google. Launcher2 though is not sent when syncing repo, so i got the Launcher2 source from cyanogen. As far as i figure unless i missed something i should be able to click file > new project > android project. this brings up a window, click the bullet load from source choose the directory where Launcher2 is and choose API level 7 then click finish. it loads with 2 errors, cannot compile until build paths are fixed and that the folder "gen" isn't there. "gen" is an auto-generated folder by eclipse that follows after the source code to fix those errors, you either make a change or delete the gen folder. since the gen folder is auto-generated deleting it just forces the gen folder to be remade to make the compiler happy. when that happens approximately 184 errors occur(they were there all along) the gen files were just hiding them.
what i am trying to figure out is what i need to do to get this to compile? am i missing a step in the process? am i missing something? i've been banging my head against this wall for about 2 weeks looking for every possible angle that i can think of including putting Launcher2 into it's respective folder made by git and running make. it errored out. i'm at a loss and any kind of help would be greatly appreciated.
i would like to add, this is straight from cyanogens github no modifications and no changes. also no modifications or changes to any files aquired by repo. i'm just trying to compile a "stock" Launcher2, once i am able to compile that i will rercompile with any changes i might want to make.

[RELEASE] Metamorph - Theme Control File Upgrader

Stericson have a new Metamorph App.
It uses xml theme control files instead of the old thm files.
danation from the ModMyMoto forum has made a program, that updates the thm file to the new xml format.
It works very very well.
Please at all themers:
Use the Pro Version, use the new Metamorph with xml. Upgrade your Morphs with the xml files. Its not many work for you, but you can help us themers and users if you do this.
Download
http://www.4shared.com/file/5l0E6t76/ThemeControlFileUpgrader.html
Original Post at ModMyMotoForum
http://www.modmymoto.com/forums/showpost.php?p=3917253&postcount=10
Thanks, danation, thanks stericson! Great work!
Today, stericson has changed the free version to the new format, too!
Please upgrade your themes, themers!
So there are no chaos to the community!
I love it! thanks bro
I have noticed the themes are not working now... people need to update the themes they created... please??
Contact your theme developer.
I'm in the process of upgrading mine to the new XML format right now.
If the theme developer is no longer around you will have to either obtain and use a copy of the old metamorph app or use the conversion tool to convert the .thm into a .xml file before use.
After using the tool I can say it works, but I can think of a few ideas to make it easier. First of all, is there any CLI support? The GUI is a bit annoying. Also, the ability to drag+drop a .thm file right on the window and have it output the .xml converted file in the same directory would be just awesome.
All in all, Great work. It saves me from manually creating new .xml files for all my old .thm files.
this is a great tool that makes it super easy to change .thm files to xml. If only all the idiots on the market giving metamorph bad reviews could read this. Not hard to do it yourself if the theme dev is not around...
I don't really know, why themers out there have used the free version and didn't donate stericson for his hard work!
We know since three weeks, that the thm file become changed to the xml file
And now there is the chaos, because there are a lot of guys, who didn't read instructions.
Perhaps worth noting in the original post that this is an app for Windows. I assumed it was an Android app.
riddley said:
Perhaps worth noting in the original post that this is an app for Windows. I assumed it was an Android app.
Click to expand...
Click to collapse
Its a Java app wrapped in an exe container for windows.
The release .zip also contains the .jar file that can be run on any desktop OS.
Command:
java -jar ThemeControlFileUpgrader.jar
riddley said:
Perhaps worth noting in the original post that this is an app for Windows. I assumed it was an Android app.
Click to expand...
Click to collapse
I don't have said anything about an app. And if you have java installed at your home computer, theres no problem.
Or where do you see a problem?
P.S.: I have now 618 downloads of the themefilepatcher and everything is fine.
I think, danation has done a real good job!
Thanks for posting this thread, Formel-LMS
I have an update:
I would post a link, but how do I get this taken off, lol?
To prevent spam to the forums, new users are not permitted to post outside links in their messages. All new user accounts will be verified by moderators before this restriction is removed.
Click to expand...
Click to collapse
Anyway, you can find it at the original thread at M3, the link Formel-LMS posted in the original post.
-1.1-
* Fixed bug that always warned about duplicate files
* When errors are found, it finishes writing all valid data before terminating.
-1.0-
* Ignores single blank lines
* Captures notes after double blank lines
* Adds functionality to enter in header information
* Prevents file overwriting
* Puts framework at the bottom no matter where it is in the .thm file
mytharak said:
After using the tool I can say it works, but I can think of a few ideas to make it easier. First of all, is there any CLI support? The GUI is a bit annoying. Also, the ability to drag+drop a .thm file right on the window and have it output the .xml converted file in the same directory would be just awesome.
All in all, Great work. It saves me from manually creating new .xml files for all my old .thm files.
Click to expand...
Click to collapse
Drag and drop is a good idea. I haven't tried that with Java before. I'll see what I can do.
What is CLI support?
Danation said:
What is CLI support?
Click to expand...
Click to collapse
I think be means this.
If it accepted a file/path as an argument then you would not need drag-and-drop...just create a batch file that used %1 and you drag the .thm file on it.
Nice to see you here, danation.
Thank you very much for this great option and the support!!
You must write some posts to have the permission to attach some files. I don't know why, but at xda is it so I think.
britoso said:
I think be means this.
If it accepted a file/path as an argument then you would not need drag-and-drop...just create a batch file that used %1 and you drag the .thm file on it.
Click to expand...
Click to collapse
Oh, I see now. I'm not really planning on adding command line functionality, unless a lot of people really want it a lot.
But drag and drop sounded good, so I added it to 1.2
Version 1.2 can be found at the "original thread" link at the beginning of the thread.
-1.2-
* Drag and drop feature added (I borrowed some public domain code found at sourceforge) Tested on Windows 7 and Ubuntu. Should work on Mac and Kubuntu as well.
* Option to disable dialogs
Danation said:
Oh, I see now. I'm not really planning on adding command line functionality, unless a lot of people really want it a lot.
But drag and drop sounded good, so I added it to 1.2
Version 1.2 can be found at the "original thread" link at the beginning of the thread.
Click to expand...
Click to collapse
Could you post a non-forum link... I'm not registered at modmymoto so I cant download 1.2
britoso said:
Could you post a non-forum link... I'm not registered at modmymoto so I cant download 1.2
Click to expand...
Click to collapse
I keep trying, but XDA still gives me a message that I'm not verified by the forum moderators.
I attached it to this post, though.
(removed attachment, new version in post #20)
Thanks again, danation! Very cool!
Formel-LMS said:
Thanks again, danation! Very cool!
Click to expand...
Click to collapse
Happy to do what I can
____________________________________________
This is the final version, unless there are any bug fixes needed.
Included in the download is an executable JAR file that will work on any operating system that has the Java Runtime Environment installed (version 6 or later.) Windows, Mac, and most Linux Distros will be able to run this program.
An equivalent EXE file was also added for the convenience of Windows users.
Original download location at M3 is here.
The latest version is also attached to this post.
-1.3-
* Drag and drop directories - All .thm files in the directory and all subdirectories will be converted. Other files are ignored. You can convert all of your themes at the same time
-1.2-
* Drag and drop feature added (I borrowed some public domain code found here.) Tested on Windows 7 and Ubuntu. Should work on Mac and Kubuntu as well.
* Option to disable dialogs
-1.1-
* Fixed bug that always warned about duplicate files
* When errors are found, it finishes writing all valid data before terminating.
-1.0-
* Ignores single blank lines
* Captures notes after double blank lines
* Adds functionality to enter in header information
* Prevents file overwriting
* Puts framework at the bottom no matter where it is in the .thm file

[Q] I Need Help Compiling apk's to use with CM7 theme chooser

Hi,
I'm having issues compiling a new apk to use with the tmobile theme chooser and could really use some help.
I started by creating a new project in eclipse using the information from the Cyanbread theme to get the right androidManifest.xml, package format, and xml files. The problem I've run into is that, when I try to apply the theme (through CM7 emulator or my own phone), I get an error saying the package is improperly compiled and cannot be applied.
I looked into the source code for the theme chooser and found that "DIALOG_MISSING_THEME_PACKAGE_SCOPE" is what generates that text string. I found tmobile's theme wiki at hxxp://code.google.com/p/tmobile-themes/wiki/NewGlobalThemeEngineDesign (sorry, I cannot post links yet). On that page, I found this:
Resources are generated in the 0x0a package scope. This is designed to separate them in the AssetManager's ResTable. The framework currently uses 0x01 while application packages normally use 0x7f. The aapt tool was modified to support assigning arbitrary package scopes and so you must use the aapt tool found in the themes tree for building your own themes.
Click to expand...
Click to collapse
I installed the repository on my system and found the aapt at ~/prebuilt/sdk/tools/linux/aapt. I tried renaming my "standard" aapt to aapt.old in my android sdk platform-tools folder and putting the modified aapt in its place. I deleted my gen folder in eclipse and made it rebuild it using the modified aapt.
Having done all that, I still get the same error saying the package is improperly compiled. This is all pretty new, and I haven't been able to find any info here on xda or elsewhere that helps. Any help that anyone can give would be really appreciated. Thanks!
UPDATE:
A guide was just posted at forum.xda-developers.com/showthread.php?t=942203 that gave me all the other info I needed to make this happy. If your searching and found this thread, hopefully the guide can help you.
UpwardSpiral said:
UPDATE:
A guide was just posted at forum.xda-developers.com/showthread.php?t=942203 that gave me all the other info I needed to make this happy. If your searching and found this thread, hopefully the guide can help you.
Click to expand...
Click to collapse
Thanks a lot! I've been having the same problem

[Q] compiling htc one s android 4.2 on any rom really

Hello
I am having troubles getting my roms to compile. I keep getting the same error in each one. If someone could let me know what I am doing wrong that would be great. I am using linux ubuntu 12.10 and go through all the instructions on building the roms. Even on ones where it says that it is completely set up I get the same error. Here it is.
make: *** No rule to make target `/home/paulg/android/rootbox/out/target/product/ville/obj/lib/libmmjpeg.so', needed by `/home/paulg/android/rootbox/out/target/product/ville/obj/SHARED_LIBRARIES/camera.msm8960_intermediates/LINKED/camera.msm8960.so'. Stop.
I guess the solution would be to take the file from another rom and put it into the directory but there has to be another way to do this besides doing that.
I also have another error where it says the libril directory from hardware/lib/libril is conflictin with the direcory msm-8960-common/libril ( not excatly like that but close enough). To fix this I just erase the hardware/lib/libril directory and leave the msm8960-common intact and let it compile from there. I don't know if this is right or not. If someone knows this one let me know.
Thank you.
Paul
atrus5 said:
Hello
I am having troubles getting my roms to compile. I keep getting the same error in each one. If someone could let me know what I am doing wrong that would be great. I am using linux ubuntu 12.10 and go through all the instructions on building the roms. Even on ones where it says that it is completely set up I get the same error. Here it is.
make: *** No rule to make target `/home/paulg/android/rootbox/out/target/product/ville/obj/lib/libmmjpeg.so', needed by `/home/paulg/android/rootbox/out/target/product/ville/obj/SHARED_LIBRARIES/camera.msm8960_intermediates/LINKED/camera.msm8960.so'. Stop.
I guess the solution would be to take the file from another rom and put it into the directory but there has to be another way to do this besides doing that.
I also have another error where it says the libril directory from hardware/lib/libril is conflictin with the direcory msm-8960-common/libril ( not excatly like that but close enough). To fix this I just erase the hardware/lib/libril directory and leave the msm8960-common intact and let it compile from there. I don't know if this is right or not. If someone knows this one let me know.
Thank you.
Paul
Click to expand...
Click to collapse
Never mind I figured it out and compiled rootbox for Htc One S
atrus5 said:
Never mind I figured it out and compiled rootbox for Htc One S
Click to expand...
Click to collapse
What was your solution for the libmmjpeg.so error? I'm having the same problem for another device
Thanks,
Mike
mikshepard said:
What was your solution for the libmmjpeg.so error? I'm having the same problem for another device
Thanks,
Mike
Click to expand...
Click to collapse
You can get this file and all the other proprietary files by entering extract-files.sh from your device/devic_company/device_name directory from whatever rom you are trying to build. If you have done this then there should be a file that will automatically copy it or else you will have to copy it to the out/target/product/device_name/system/lib directory. You might want to also check that you have the correct manifest files in local_manifest for whatever device you are trying to build. usually there is a cm.dependencies file in the device/device_company/device_name directory that will tell you exactly what manifest to use. If you have any other questions let me know. I hope this helps.
atrus5 said:
You can get this file and all the other proprietary files by entering extract-files.sh from your device/devic_company/device_name directory from whatever rom you are trying to build. If you have done this then there should be a file that will automatically copy it or else you will have to copy it to the out/target/product/device_name/system/lib directory. You might want to also check that you have the correct manifest files in local_manifest for whatever device you are trying to build. usually there is a cm.dependencies file in the device/device_company/device_name directory that will tell you exactly what manifest to use. If you have any other questions let me know. I hope this helps.
Click to expand...
Click to collapse
oh wow, hahaha, I was in such a hurry, I completely missed that. I never used the extract-files.sh as all the proprietary files for my htc devices used to be hosted on github but recently got pulled due to a legal problem with the camera drivers. I had the files backed up on my old computer but forgot to copy them over to the new one. Wow, amateur mistake but one that would have taken me a while to catch. Many thanks man!!
-Mike
mikshepard said:
oh wow, hahaha, I was in such a hurry, I completely missed that. I never used the extract-files.sh as all the proprietary files for my htc devices used to be hosted on github but recently got pulled due to a legal problem with the camera drivers. I had the files backed up on my old computer but forgot to copy them over to the new one. Wow, amateur mistake but one that would have taken me a while to catch. Many thanks man!!
-Mike
Click to expand...
Click to collapse
No problem.
I had the same problem with ville. Got the files pulled so made up my own repo with all the files that are needed.

[APP] Subversion

All,
Please find the attached native Windows RT binaries for Subversion 1.8.0
Also feel free to give the binaries a try by checking out the following:
svn checkout http://windowsrtdev.googlecode.com/svn/trunk/ windowsrtdev-read-only
I'll try to keep the SVN repo up to date. I'm happy to take suggestions for a layout/tree structure to keep things easy to manage for my fellow XDA members!
Cheers!
EDIT: fixed missing binaries... sorry! please re-download 'rel2'.
That would be an incredibly useful tool to a software developer on RT. Nice one :good:
SixSixSevenSeven said:
That would be an incredibly useful tool to a software developer on RT. Nice one :good:
Click to expand...
Click to collapse
I'm hoping it can be more than that.
It would be nice to get to a point where we can maybe leverage svn as a software repo and provide easy access to app ports, libs, etc. Also would make getting updates much easier. If we could wrap this and the jailbreak with some batch/perl scripts we could have a completely functioning "app store" (so to speak) to help improve the access to Windows RT desktop apps.
Cheers!
Yeah I can definitely see svn contributing towards a "homebrew" store.
Hello, thanks for the port! We use subversion for several things at work, so this could be very useful. I haven't been able to get it to run though.
I extracted the archive (using Ark on linux instead of 7zip), and copied the files to C:\Bin\subversion_1.8.0_arm\
Running svnversion.exe I get an error "the program can't start because libapr-1.dll is missing...". So I renamed libapr.dll to libapr-1.dll. I then get a similar message "libaprutil-1.dll is missing...". Renamed libaptutil.dll to libaprutil-1.dll. Then I got a message that libapr.dll is missing, so I made a copy of the renamed libapr-1.dll back to libapr.dll. Then I get a very different message:
"The procedure entry point apt_atomic_xchgptr could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_subr-1.dll." This dll does exist in this location.
svn.exe gives an error "The procedure entry point apr_array_clear could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_fs-1.dll".
Other exes give other similar errors which I can copy down if it'd help. I figured svnversion.exe and svn.exe would be good examples.
I'm not sure what I'm doing wrong. I thought it'd be fairly straightforward, but maybe I'm missing something obvious.
Thanks!
domboy said:
Hello, thanks for the port! We use subversion for several things at work, so this could be very useful. I haven't been able to get it to run though.
I extracted the archive (using Ark on linux instead of 7zip), and copied the files to C:\Bin\subversion_1.8.0_arm\
Running svnversion.exe I get an error "the program can't start because libapr-1.dll is missing...". So I renamed libapr.dll to libapr-1.dll. I then get a similar message "libaprutil-1.dll is missing...". Renamed libaptutil.dll to libaprutil-1.dll. Then I got a message that libapr.dll is missing, so I made a copy of the renamed libapr-1.dll back to libapr.dll. Then I get a very different message:
"The procedure entry point apt_atomic_xchgptr could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_subr-1.dll." This dll does exist in this location.
svn.exe gives an error "The procedure entry point apr_array_clear could not be located in the dynamic link library C:\Bin\subversion_1.8.0_arm\libsvn_fs-1.dll".
Other exes give other similar errors which I can copy down if it'd help. I figured svnversion.exe and svn.exe would be good examples.
I'm not sure what I'm doing wrong. I thought it'd be fairly straightforward, but maybe I'm missing something obvious.
Thanks!
Click to expand...
Click to collapse
My bad. Download rel2.. should be fixed.
bfosterjr said:
My bad. Download rel2.. should be fixed.
Click to expand...
Click to collapse
Awesome, thanks for fixing it so quickly!

Categories

Resources