Questions tagged [signed-apk]

The signed apk is simply the unsigned apk that has been signed via the JDK jarsigner tool.

An Android apk is just a zip file, so to see the difference between a signed and unsigned apk built from Eclipse, you just need to unzip the files and compare the contents.

182 questions
97
votes
16 answers

Getting error says - "Entry name 'res/layout/test_toolbar.xml' collided" while creating signed apk

I have updated my android studio from 3.5.x to 3.6 today and getting an error while generating signed apk for build variant showing the following message - Entry name 'res/layout/test_toolbar.xml' collided I don't have any layout named like this…
A S M Sayem
  • 2,010
  • 2
  • 21
  • 28
90
votes
3 answers

Entry name 'classes.dex' collided

While trying to Generate a signed APK I'm getting this error Entry name 'classes.dex' collided Can someone tell me how to solve it? I recently changed the default package name which was com.exmaple to my app's name. It builds correctly but gives…
Sanjid Chowdhury
  • 1,010
  • 1
  • 5
  • 9
53
votes
12 answers

Android studio - Generate signed APKs broke

I just updated my Android studio to the version 2021.1.1 Canary 12. After struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2. Now I can compile my project and launch my app on my mobile, everything is working. But…
Anael
  • 417
  • 1
  • 6
  • 18
42
votes
14 answers

keystore not found for signing config 'release'.-- React native

I'm trying to generate a Signed APK for react native project. Followed steps from android and react-native documentation. my Build.gradle file android { compileSdkVersion 23 buildToolsVersion '26.0.2' defaultConfig { applicationId…
Kartiikeya
  • 2,358
  • 7
  • 33
  • 68
37
votes
4 answers

How can deploy signed APK when click Run in Android Studio?

I am developing an app which uses Google APIs. I have created credentials at "Google Developers Console". If I creates a signed APK, and run it on the phone, there is no problem. The problem is, while I developing the app, when I click RUN button,…
fthdgn
  • 1,339
  • 1
  • 13
  • 18
26
votes
4 answers

How to sign an apk through command line

Be informed that we have created an apk file through command line with the help of Android SDK. Now since uploading it to google play store needs the apk to be signed. How shall we do this.
Ahamed Husain
  • 299
  • 1
  • 3
  • 12
22
votes
9 answers

Host name must not be empty with error : Execution failed for task ':app:uploadCrashlyticsMappingFileRelease'

I have updated the Android Studio to 4.0, then while generating signed apk I received an error showing Host name must not be empty. But I was successfully able to debug the app in my device and is working fine. I did run a stack trace, it shows…
Cyril David
  • 465
  • 1
  • 4
  • 11
14
votes
1 answer

Android signing apk signature V2

I'm developing Android application using android studio version 2.2.2 and gradle version 2.2.2. I am trying to generate signed APK. I did the regular process for generating signed APK with Android Studio. After that, I did Zipalign process.…
nilkash
  • 7,408
  • 32
  • 99
  • 176
12
votes
4 answers

Signed apk getting crashed in proguard enable

I am trying to use proguard in my app set the proguard to true and then the problem starts I am importing lib when I use proguard by following this -keepnames class com.somepackage.* with my package name the app is getting getting crashed when I try…
SAVVY
  • 842
  • 16
  • 33
9
votes
7 answers

Failed to Generate Signed Apk - An organization slug is required (provide with --org)

After setting up the Sentry.io error tracking I get this error when I try to Generate Signed Apk: Java Compiler error: An organization slug is required (provide with --org) Click on this image and open it to see more details: I cannot understand…
Alireza Noorali
  • 3,129
  • 2
  • 33
  • 80
9
votes
1 answer

firebase phone authentication not working after .apk released in play store even after I have updated sha1 in firebase console

Firebase phone authentication not working after .apk released in play store even after I have updated sha1 in firebase console after that I have generated google-services.json again and updated json file in android studio project. There was many…
8
votes
7 answers

Errors while building APK: Algorithm HmacPBESHA256 not available

I am trying to update an existing Android app, but while generating a Signed APK the following error message appears: Algorithm HmacPBESHA256 not available I have searched the internet for a solution, including here on StackOverflow, but I cannot…
KDApps
  • 91
  • 1
  • 1
  • 3
8
votes
2 answers

App crashes while generating Signed apk with obfuscation (NoSuchMethodError)

I am facing with this peculiar problem where my app crashes as soon as it is launched when generating signed apk with obfuscation (progaurd).My progaurd looks like below : -keep public class * extends android.app.Activity -keep public class *…
user2106108
  • 163
  • 11
8
votes
1 answer

Android Studio 2.3 Signature Step Verification v1(Jar Signature), v2(Full Apk Signature) Disabled

Android Studio 2.3 Generate Signed Apk Second Step Signature Verification v1(Jar Signature), v2(Full Apk Signature) How to enabled ? Signed Apk Second Step screenshot below gradle files: My build.gradle file is :- android { compileSdkVersion 25 …
7
votes
2 answers

Signed APK file not working while debug APK works

So I just finally finished my first app and wanted to put it in the google store and for an unknown reason it always says "You must import a valid .apk file.". I really don't know what I'm doing, I looked everywhere and kinda understood that i had…
1
2 3
12 13