[Q] ODDBall Eclipse Android App Signing Problem - Android Q&A, Help & Troubleshooting

Hi,
I have a simple ADWTheme app I have created which is working fine when I use a generic debug key, but when I use a private certificate created with Eclipse and build my Theme, I get a really lame/generic error when selecting a dock. Using the debug key it works fine. I even created a new key and used it, but same results. Interestingly enough Eclipse spits out nothing in terms of errors during the build or export. Even more interesting is this affects only the docks. I can select wallpapers all day long without any errors.
Any ideas are greatly appreciated
UPDATE
Okay, I signed the APK with another tool with a key created from that tool and it worked so something is wrong with Eclipse setup or my keystore.

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Related

Is there software out there to...

...let you decompile and apk and edit the layout in the xmls, and then display the results in a device emulator without having to recompile and sign the apk and push it to your device? I have all the tools (SDK, Eclipse, apk manager, etc etc etc) but as I am new to Android tweaking I may be missing some simple knowledge that will save a lot of trial and error!
I am looking initially to edit the HtcQuickLaunchWidget.apk (the non-m10 version) and was wondering if there was a way of loading the apk or decompiled apk back into Eclipse or something similar to then be able to tweak the layout of the widget and view the result on the PC rather than spending hours of making single changes and pushing to my phone each time to see the result.
The answer might be a simple 'no other way' or as I say I might be missing something obvious and all I need to do is 'this, this and this'... Any advice would be greatly appreciated. And before you mock, remember we all have to start (or in my case start again) somewhere
Thanks.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Eclipse - Driving me mental, please help :(

Having a VERY weird problem with Eclipse and I cant work out for the life of me what is going on. Will be VERY appreciative if someone knows what the problem is here.
IF I create a new Android Project, it will save a folder with all the files to C:\users\silver\workspace
IF I create a android project from an existing source, the workspace folder does not contain the saved project folder.
Up until today there was no problem. Then for no reason as far as I can see, it went nuts on me.
Ive reinstalled and setup Eclipse. Ive even restored my PC to an earlier point to see if that would help.
If I cant work this out, its 2 weeks worth of work down the drain
Anyone got any ideas as to what the heck is going on?
Silver420 said:
Having a VERY weird problem with Eclipse and I cant work out for the life of me what is going on. Will be VERY appreciative if someone knows what the problem is here.
IF I create a new Android Project, it will save a folder with all the files to C:\users\silver\workspace
IF I create a android project from an existing source, the workspace folder does not contain the saved project folder.
Up until today there was no problem. Then for no reason as far as I can see, it went nuts on me.
Ive reinstalled and setup Eclipse. Ive even restored my PC to an earlier point to see if that would help.
If I cant work this out, its 2 weeks worth of work down the drain
Anyone got any ideas as to what the heck is going on?
Click to expand...
Click to collapse
Have you tried to import the specific project? I am sure the project which should be imported is an eclipse project. If yes you are able to IMPORT it instead of creating a new project from source. If not have you tried to cut the specific project from the workspace folder and then create a new project from existing source and choose the project esp. from your desktop and mark copy it to the workspace folder. (In some cases eclipse is not able to import/create a project if its in the workspace folder.)
If these things don't help. Update all the Android Specific Stuff. Update to newest ADT and SDK. And try it again.
If it won't work even after that i will need some more detailed information about your problem.
Good luck
Not sure why but it just went mental regarding anything I tried. Only way in the end was to copy and paste everything manually after creating the classes again
Back to square 1 at least well sort of...
I now have another problem lol.
I modified the SDK so I was able to use Internal API's, though I still have one error that I cant get rid off, which is...
"The import android.os.SystemProperties cannot be resolved"
Dont suppose you know how to modify the SDK to be able to use the whole source?
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Bumpety Bump

[TOOL][BETA] ID Wizard

Hey
Aplologies if this is in the wrong place! Please move if necessary.
Changing IDs after porting lockscreens or something is time consuming and annoying . So a while ago I tried Untermenschs Resource Mapper.
It worked ok but it would sometimes miss ID's and sometimes would find ID's incorrectly where the same name existed for say a string and an id.
I was porting lockscreens through SGS2 firmwares, had excel 2003 installed and a bit of VBA knowledge so thought I'd give it a go myself.
It works on the same principal. Mod your framework-res.apk with the images, strings,ids,layouts etc etc. Compile and get your new public.xml.
I used this on files I had ported code across into from android.policy.jar and framework.jar.
When prompted, give the tool your old roms public.xml and the new one. Show it a folder where the files are that you have ported the code across into and it will look up the IDs names and types in the old public and then find the new ID in the new public and change the file accordingly. It comments that line with the type and name for easy identification in the same way untermenschs tool did but includes the type as well.
IT OVERWRITES THE FILES, SO MAKE SURE THEY'RE NOT YOUR ONLY COPY, JUST IN CASE!
Excel 2003 is needed as I only realised afterwards that they removed filesearch from excel 2007 inwards. I will redo that part of the routine.
The code is scrappy and Im certainly no expert when it comes to VBA but this has worked 100% in the last 2 ports we have tried. The 10 lockscreens for SGS2 KL1 and 11 for SGS1 JW1.
Please someone try it and let me know how it goes. Would be nice to see if its working good for others or failing miserably.
If it saves someone as much time as it saved me in the last port it will be worth posting
Link removed for updating...
Sent from my GT-I9100 using Tapatalk

Generate date + time and copy to clipboard?

Hello
I know nothing about writing applications for Android: What is the simplest way to create an applet that will simply...
1. generate the date and time as "[YYYY-MM-DD] ",
2. copy this string the clipboard
3. display an OK dialog just to confirm that it worked?
Since I know nothing about development on Android and Java, I'd like something that won't take me days to get up and running. Could I get this done in B4A within a day?
Thank you.
FreyrNjord said:
Hello
I know nothing about writing applications for Android: What is the simplest way to create an applet that will simply...
1. generate the date and time as "[YYYY-MM-DD] ",
2. copy this string the clipboard
3. display an OK dialog just to confirm that it worked?
Since I know nothing about development on Android and Java, I'd like something that won't take me days to get up and running. Could I get this done in B4A within a day?
Thank you.
Click to expand...
Click to collapse
You could do this in 2-3 hours
Questions should be asked in Q&A forums, not Development forums.
Thread moved.

[Q] Fails in an imported project

I just reinstalarme java sdk and eclipse and I've updated everything to solve problems that had versions had. Now, trying to create a project before importing interests me, not allowing me to use the light holo theme with dark action bar (The project I have to import the user and also gave me error related to it). I get a red x next. We also explain the mistake that gave me and before reinstalling everything and that gives me now, because I think it has something to do. It turns out that when you import a project gives me many errors: Errors in the files within src and errors especially in res / values ​​/ styles. the latter makes no father is and values-v21 speak. Many would say that the problem is the appcompat but I've tried a lot of solutions out there on the internet and nothing, I can not solve. Does not work with android studio me and if I have tried the techniques of builth path and etc. i need help please. The solution to start the application again is not an option, Thanks for everything
I add: when I go to project properties in android in paragraph libraries appear both me I have a red X (the appcompat and of google). They are in the project and if that I have downloaded everything you need with sdk (extras and others)

Categories

Resources