pardom-zz / ActiveAndroid

Active record style SQLite persistence for Android
http://www.activeandroid.com
4.7k stars 1.03k forks source link

'java.lang.String com.activeandroid.TableInfo.getTableName()' on a null object reference #543

Open runat3 opened 6 years ago

runat3 commented 6 years ago

With this code, the problem persists.

<meta-data
    android:name="AA_MODELS"
    android:value="com.myapp.model.Item, com.myapp.model.Category" />

Then I found that by removing the space, it worked like this

<meta-data
    android:name="AA_MODELS"
    android:value="com.myapp.model.Item,[No space here]com.myapp.model.Category" />
ImangazalievM commented 6 years ago

Hello. ActiveAndroid no longer be maintained. You can use ReActiveAndroid, it's based on ActiveAndroid.

Full Documentation.

WahidNasri commented 6 years ago

try to disable instant run

deepankar-np commented 5 years ago

try to disable instant run

Yes, It is working after disabling instant run. I also invalidated and restarted the android studio. However, after reinstalling the APKit was again throwing the same error. Hence, I cleared the app data and after that, the app again started working.

ReejeshPK commented 5 years ago

try to disable instant run

That really helped. Thanks!