Error when opening an APK on other Android devices [closed]

1

I build my APK without any problem either debug or release, the two are built without apparent problem. It should be noted that I generated the APK in Build & Generate Signed APK. up there all right, I transfer the application to my device via USB and install it manually (with unknown origins). It works perfect !!!

The problem is that if you pass it to someone else it does not work, that is, the application stops when you try to open it (if it is installed).

Details of the application

I am using the Google Maps API, however I do not know that the SHA1 that I generate (The gender with keytool -list -v -keystore keyAndroid.jks ) is appropriate, because when I filter it through the package and its SHA1 in:

link

when opening my app in my device does not show me the map. Then to show me I do not put the package or the key SHA1 (I leave it without restrictions).

Following the previous logic, not to add the key SHA1 or the package to the APi of Google Maps, this because so if it shows me the map and works perfectly well on my device (when installing it by unknown sources). Then likewise I want to test the application on another device, but it does not open the application (if installed).

PD: I'm working on API 15 (Android 4.0.3) The error that shows is "The application has stopped".

    
asked by Alan Oliver 22.11.2017 в 06:34
source

1 answer

1

I already work. The error was because I had assigned transparency to a Layout bar, so in some versions of Android it did not work.

To fix it just change the color and you're done.

PD: I discovered the error with the Logcat, Thanks! : D

    
answered by 23.11.2017 / 02:23
source