Hello everyone!
I need help with my uni project. I am supposed to localise a mobile app and I've found a simple looking ''choose your own adventure'' game which is perfect for this purpose. However, I cannot get it to work after editing the language files. Here's what I've done:
1. Unpacked the .apk file with WinRAR.
2. Edited the .xml files containing the language with Notepad++. Changed only the displayed text into another language, left the code unedited.
3. Tried to build the app back using Android Studios.
Whenever I try to convert the edited game back into an .apk file I get an error (see screenshot below). Is my Android Studios setup wrong (I used the basic settings)? Am I doing something wrong? Is there an easier way to do?
Cheers,
YamaKasin
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Related
could any one can make a transparent settings.apk like on galaxy tab
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To do that, you need to decompile both .apk files (from your ROM and from the Galaxy ROM) (I use apk manager to do that) Then compare "styles.xml" in /res/values folder and transfer the data from the galaxy one to yours...(this xml might be different in Galaxy ROM) And then you only need to re-compile and optimize it...
(As settings.apk is a proprietary ROM apk, you need to decompile/recompile it using HTC/Galaxy framework...)
Good luck with that
EDIT: In the link provided, there is how he did it....
EDIT: He didn't actually make it transparent, he just placed a theme wallpaper in the background instead of White one...
thanks for the info.i will look into it
You had any luck with this?
no, i am trying
welcome,any one can try it, if it is successful post it here
I just can't figure out why my text don't align properly. I tried many times and can't get it to work. Someone please lend a hand to a desperate man....
I'm using apk manager to decompile etc...
This is what I do:
Extract MMs.apk>decompile>edit XMLs for font colors>compile "select Y for system apk>select Y again - delete resources XXX and edited files">sign apk. I get no errors. I use eclipse to sign the .9png as well.
I made the bubbles from editing the originals, and I think they look ok as far as I can tell. The text changed color as it should. I'm ready to trow my pc out the window!!!
BTW- What file do I need to edit so I can make the blue header with pic and phone number black?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Bionix 1.3.2 text mystery ROM....
Greetings XDA. Got some issue here, maybe XDA gods may help with this....
Since Xiaomi updated their MiFit application to version 1.4.452_1050 I'm having problem to modify apk, even just recompiling it without any modification. Not sure at what stage it messes up, but I believe it smth in decompiling proccess, while it doesn't give any error. The main difference after compiling is vanishing of new SMS and Alarm notification menu.
Here you can see original app screenshot and recompiled one:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Things I've tried:
- Switching between 4.4.2/4.4.4/5.0.2 MIUI frameworks.
- Switching between 2.x.x apktools, even latest 2.0.1 compiled.
- Just decompiling and compiling without edits.
Apk itself (install this original apk to see menus):
View attachment MiFit_1.4.631_1057.apk
Hey
I want to remove the ads by changing the code. Like the picture
Can you guide me or introduce a useful tutorial? With Java Codes
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
dogtortohi said:
Hey
I want to remove the ads by changing the code. Like the picture
Can you guide me or introduce a useful tutorial? With Java Codes
Click to expand...
Click to collapse
In android applications, layout interface are mostly writter in XML file (for Android studio Java/Kotlin project).
You must grab the APK and decompile it using https://ibotpeaches.github.io/Apktool/
Then navigate to the \res\layout* direcory.
Edit the XML (Be careful when deleting something, because it may be connected to the Java code, so, setting ads dimension to 0 can be a better idea).
Recompile the APK and sign it.
Hi I would need a help to understand how the android webview works. I bought an Oppo Reno 7 for my wife from the hand and in the file directory I found folders for different apps used for private browsing and private communication as per attached images in directory Android\media\com.android.system. I've got the same phone and I don't have such files in mine. Is there a way to understand how to access those, if they were just opened/used in the past or is there any launcher installed that I need to access to get to those? All files seem to be empty.Or do I need to open Android studio to see if there is any other open source solution created and
what should I be looking for??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks!
Obviously file / folder corpses, left on phone due to inproper deinstallation of apps.
Do a Factoty Reset. Better: install and run SD Maid Pro.