I have created a debug apk by running "ionic build android" and then signed the apk with keystore file and password and ran " ionic build android --release" . now the release apk is not working in android jellybean (only showing white blank screen) but its working in android lolypop .
there is no error in console.
cordova version is 4.2.0 cordova-android version is 3.6.4
I don't have cordova whitelist plugin in my project . if i tried to install whitelist plugin it says plugin dosen't support this cordova-android version.
My projects has "access origin = "*" in config.xml and
uses-permission android:name="android.permission.INTERNET" &
uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" in manifest file
Any update regarding the issue will be welcomed .
OK I got the problem and solved it . I am sharing this for one who will face the same problem in future
Actually I was using material design and injected "ionic-material" in the main module in app.js file . Somehow it won't work in pre-lolypop version . I also don't know the exact reason why it dosen't throw an error in debug version but in release version. What I did just removed the ionic-material from my project and modified my code accordingly and it ran in every version of android . I should work on how can I implement material design in pre-lolypop version also but that is another story . Thank you .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With