output.json and app-relase.apk in Android Studio and the error while installing

Asked

Viewed 95 times

0

Hello, good morning!

Every time I download an example of a project in AS, I realize that if the output.json comes along with the apk, the app will not install in any way (either in the emulator or on the device)

I’ve seen several answers that is to ignore this . json, but it’s right, every time I download a project and generates it the app does not install.

example: https://github.com/ofuwape/FlickrFindr

I only changed the Flickr APIKEY and when generating the apk came together the output.json.

I was wondering if you had any way to handle this;

I use Android Studio 3.2.1

Obg!

1 answer

0

Android Studio 3.0+ is responsible for this file. You don’t have to worry about the output.json, it only brings information about the generated APK.

Take a good look:

For older versions, what Android Studio did was generate a signed APK and put it in the "output" folder. It’s just showing the different properties of the generated APK.

From Android Studio 3.0+, they organized this file structure. For each signature of an APK, the APK will always be accompanied with a file output.json corresponding. This file is actually nothing but a description of the generated APK.

Now, about failure in installation, see on logcat what error is generating, and post so that we can help you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.