Debug Apk - Android Q&A, Help & Troubleshooting

By default, the debug APK is created in app/build/outputs/debug/app-debug.apk & release APK is created in app/release/app-release.apk.
Is it possible to change the debug APK location to app/debug & instead of app-debug & app-release is it possible to assign the default name to something like {app name}_{version}_{timestamp}_{debug/release} without manually renaming? Also, a debug APK is created when we directly run from Android studio which is not installable & would like to exclude this particular APK.

Grace Ob said:
By default, the debug APK is created in app/build/outputs/debug/app-debug.apk & release APK is created in app/release/app-release.apk.
Is it possible to change the debug APK location to app/debug & instead of app-debug & app-release is it possible to assign the default name to something like {app name}_{version}_{timestamp}_{debug/release} without manually renaming? Also, a debug APK is created when we directly run from Android studio which is not installable & would like to exclude this particular APK
Click to expand...
Click to collapse
Hello and good morning, @Grace Ob
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Related

Best framework to develop simple app to open list of browser links?

Hi. What would be my options for writing a simple program that would:
1) open different browsers on my Android device
2) open a list of URLs for each?
Dougmeister said:
Hi. What would be my options for writing a simple program that would:
1) open different browsers on my Android device
2) open a list of URLs for each?
Click to expand...
Click to collapse
@Dougmeister
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

How can I have a modded app and the original app at the same time on my Android

How can I have a modded app and the original app at the same time on my Android do I have to use second space ???
I'm rooted with Magisk and using Poco x3 pro
Tomatobar said:
How can I have a modded app and the original app at the same time on my Android do I have to use second space ???
I'm rooted with Magisk and using Poco x3 pro
Click to expand...
Click to collapse
Hello and good morning, @Tomatobar
Welcome to XDA! I hope you'll always find and get the support you require.
However. prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Sorry man my English is not my main language, I was just asking a question
Tomatobar said:
I was just asking a question
Click to expand...
Click to collapse
Exactly... Therefore I moved your thread out of here:
Android Software/Hacking General [Developers Only]
Technical discussion of Android development and hacking. No noobs please. Device-specific releases should go under appropriate device forum.
forum.xda-developers.com
Regards
Oswald Boelcke
Guys please how do I have modded app and the original app on the same phone ? Without having to use second space ... I'm rooted with Magisk and I use Poco x3 pro
[TOOL] APK Editor Studio – Free APK reverse-engineering tool
APK Editor Studio APK Editor Studio is a free open-source APK reverse-engineering tool combining powerful features and the ease of use. It allows you to easily change APK icon, name, images and other Android application resources. Download...
forum.xda-developers.com
Can I use Lposed for that or do I have to use app cloner ?

Android Malware META-INFO folder

Hi,
For the university I'm analyzing a old android malware and they gave me two samples. The apks are the same (code, dex, res etc...) except for additional files .SF and .RSA in the META-INF folder. In the .SF files, it is possible to see that the digests are calculated for not existing files in the apk. For this reason (I think) the apk cannot be installed through adb in the virtual machine because the signature check fails. Is there a way to exploit this files in a malicious way? I have only noticed that less antimalwares mark this apk as a malware, probably because the hash is different.
Thank you in advance.
Mirawara said:
Hi,
For the university I'm analyzing a old android malware and they gave me two samples. The apks are the same (code, dex, res etc...) except for additional files .SF and .RSA in the META-INF folder. In the .SF files, it is possible to see that the digests are calculated for not existing files in the apk. For this reason (I think) the apk cannot be installed through adb in the virtual machine because the signature check fails. Is there a way to exploit this files in a malicious way? I have only noticed that less antimalwares mark this apk as a malware, probably because the hash is different.
Thank you in advance.
Click to expand...
Click to collapse
Hello and good afternoon, @Mirawara
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Multi-User add logout button

Hi
I have multiple users on my Lineageos 19 android.
Is there a way to enable a logout button for Secondary Users? Would be great not having the apps running on other user profiles than the main user.
found this: https://developer.android.com/refer...abled(android.content.ComponentName, boolean)
how to call this DevicePolicyManager setLogoutEnabled? is it possible on any console?
psunix said:
Hi
I have multiple users on my Lineageos 19 android.
Is there a way to enable a logout button for Secondary Users? Would be great not having the apps running on other user profiles than the main user.
found this: https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setLogoutEnabled(android.content.ComponentName, boolean)
how to call this DevicePolicyManager setLogoutEnabled? is it possible on any console?
Click to expand...
Click to collapse
Hello and good afternoon, @psunix
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Rehi
I figured out how to connect to the console by using adb.
The page about the enable logout user function seems to be related to centralized android admin. https://developer.android.com/refer...abled(android.content.ComponentName, boolean)
is there a way to apply this locally? so just on my phones console?

Install Custom ROM on Room Panel from Yealink

Hi!
I have device from Yealink company with the orginal name "Room Panel" device have install old android (9) with some yealink software. From the internal website i can install new firmware with extention .rom.
Do you have normal android .rom file or some idea how put normal system to this device?
DymoDynamo said:
Hi!
I have device from Yealink company with the orginal name "Room Panel" device have install old android (9) with some yealink software. From the internal website i can install new firmware with extention .rom.
Do you have normal android .rom file or some idea how put normal system to this device?
Click to expand...
Click to collapse
Hello and good afternoon, @DymoDynamo
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources