Can't start an activity from a cordova plugin using .aar files

扶醉桌前 提交于 2019-12-03 20:26:10

nevermind, it was simple mistake. The library missed some imports and a theme. This fixed the issue.

Manifest:

android:theme="@style/Theme.AppCompat.Light"

Gradle:

dependencies {
   compile(name:'mylittlelibrary-release', ext:'aar')
   compile 'com.android.support:support-v13:23.1.0'
   compile 'com.android.support:support-v4:23.1.0'
   compile 'com.android.support:gridlayout-v7:23.1.1'
   compile 'com.android.support:appcompat-v7:23.1.0'
   compile 'com.android.support:design:23.1.0'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!