[Q][Help] Cant compile framework-res - Galaxy 3 Q&A, Help & Troubleshooting

Hi!
I edit the theme Pure AOSPGinger by dhirend_6d.
I've extracted and changed only the battery icon (so far)
I tried to compile but not work for me neither the program nor apktool apkmanager?
4.9 No apk manager in selecting the project
4.7 manger in unknown error apk
in apk tool:
[*] "C:\Users\*\Documents\*\AutoAPKTool2.0.3\_INPUT_APK\res"
recompiling "C:\Users\*\Documents\*\AutoAPKTool2.0.3\_INPUT_APK\res"...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Unknown Source)
... 5 more
The system can not find the specified driver.
Click to expand...
Click to collapse
Thanks in advance

No need to de/recompile for editing/replacing pngs, simply open the apk with an archiver such as winzip/7zip

Thanks! Work!

Related

[Q] java version "1.6.0_23"

I have a few "app inventor" apps up on the android market under "java version "1.6.0_22".
Now with "java version "1.6.0_23" I get the following errors when I try to compile with the same apktool.
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
Could Not Find C:\Users\Administrator\Desktop\App Manager\apkManager\place-apk-h
ere-for-modding\../place-apk-here-for-modding/signedLaAtalayaenlaWeb.apk
Could Not Find C:\Users\Administrator\Desktop\App Manager\apkManager\place-apk-h
ere-for-modding\../place-apk-here-for-modding/unsignedLaAtalayaenlaWeb.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1.
apk
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(Unknown Source)
at org.jf.smali.smaliFlexLexer.getSourceName(Unknown Source)
at org.jf.smali.smaliFlexLexer.getErrorHeader(Unknown Source)
at org.jf.smali.smaliFlexLexer.nextToken(Unknown Source)
at org.antlr.runtime.CommonTokenStream.fillBuffer(Unknown Source)
at org.antlr.runtime.CommonTokenStream.LT(Unknown Source)
at org.jf.smali.smaliParser.smali_file(Unknown Source)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(Unknown Source)
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
at brut.androlib.Androlib.buildSources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
What am I doing wrong ?
Thanks or the help in advance.
You can call me clueless at this point.

[Q] Android SDK - problem with downloading platforms (

Hello. I want to produce android applications but I have problem with installing SDK.I am doing everything according to instructions from
Code:
developer. android. com/sdk/index. html
but without success. JDK, plugins I have installed (I will work in NetBeans so I install plugins for this) but i cannot download platforms.
When I install installer_r11-windows.exe and then run SDK Manager.exe nothing happens. For a while, shows a console window and disappears after a while(window is empty). When I execute tools/android.bat from command line so it shows me this error:
Code:
C:\android-sdk-windows\tools>android.bat
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/a
rchquery/Main (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[INFO] Starting Android SDK and AVD Manager
Invalid path
ERROR: SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
rm.
i was trying change some variables in this bat file but without success. Please help me.
Sorry for my bad english.

[Q] Apk wont decompile?

Hi i'm trying to decompile an app in order to change the widget size for my Sony Tablet S. They will probably eventually change it themselves, however I'm impatient when it comes to things I can do myself.
Anyway,
I'm using APKmanager 4.9
I can extract the apk fine,
however when I try to decompile I get this error in the log ;
-"Could Not Find C:\Users\L\Desktop\David2\apk_manager_4.9\place-apk-here-for-
modding\../place-apk-here-for-modding/signedxxRemovedForLegalrReasonsxx.apk
Could Not Find C:\Users\L\Desktop\David2\apk_manager_4.9\place-apk-here-for-
modding\../place-apk-here-for-modding/unsignedxxRemovedForLegalrReasonsxx.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f020015 drawable/btn_browser_back, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Press any key to continue . . ."-
I can decompile the other apks I have just fine, this ones just giving me some problems.
Thanks in advanced,
-David
bump??????
Have a read HERE

[Q] flashtool startup error

halo,
please help me on this error??
i click on x8 flashtool but the error occur??
its sound like this "startup error" then
java.lang.ClassNotFoundException: gui.FlasherGUI
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
please give some advice what should i do??why this is happen??
Hi,
You should update Java or try on another PC
Hope it helped

flashtool won't run in my computer

hello evereybody i need help for flashtool sony it wont run in my pc and this is stdeer logs
Code:
java.lang.NullPointerException
at org.logger.MyLogger.initProperties(MyLogger.java:36)
at org.logger.MyLogger.setLogDest(MyLogger.java:28)
at gui.Main.main(Main.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Categories

Resources