Updated 21 February 2018
In this small blog, we will discuss how to run the release Variant of the app and enable logcat while running release app.
After the successful build the application we have to test that app very well for the application stability. In general, you should focus your Android tests on testing the business logic of your application. A good rule of thumb is to have the following distribution of tests:
we can see that the max percentage of the application testing is the unit testing which is done on code basis or we can say that the developer side.
It is good practice in Android testing to test the release version of the application instead of the debug version of Application.
Follow the below steps,
Then run the application, then an edit configuration screen will be Open.
Select your key store path, and fill that form.
Now you can run your release application directly in your device without generation of the signed apk.
Follow the below simple steps,
1 2 3 4 5 |
<application // ... android:debuggable="true" // ... </application> |
1 2 3 4 5 6 7 |
android { // ... lintOptions { checkReleaseBuilds false } // ... } |
Now you have successfully enable the logcat while running release version of the app.
Note: After completing the test don’t forget to remove or comment above block of code.
Thanks for read this blog, may be this is help full to you. Stay cool and Stay updated.
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.