I have the same Notification Builder problem like many others, but I haven't found the solution for me. I get the error
I know that I miss android-support-v4.jar. Or better I miss the correct version. I tried
- install a fresh Android studio and take the one from there to the additional library directory -> same error
- I added android-support-v13.jar -> same error
- I tried to get a new version with the sdk manager from android studio
That failed, too. The android support was marked as 'installed'. To force a reload I deleted it and wanted to install it again. That failed, because the sdk manager killed it completely; I don't find the entry 'android support' anymore, so I can't re-install it.
Now I'm at my wit's end. Where can I get this file from, if the sdk manager doesn't offer it? How can I decide if I have the right version - say: what is the right version for the Notification Builder?
There is the directory m2repository/com/android/support/support-v4 with many directories and many files support-v4-xxx. But are these the same? And if yes, which one?
B4X:
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/app/NotificationCompat$Builder;
at barxdroid.NotificationBuilder.NotificationBuilder.Initialize(NotificationBuilder.java:55)
I know that I miss android-support-v4.jar. Or better I miss the correct version. I tried
- install a fresh Android studio and take the one from there to the additional library directory -> same error
- I added android-support-v13.jar -> same error
- I tried to get a new version with the sdk manager from android studio
That failed, too. The android support was marked as 'installed'. To force a reload I deleted it and wanted to install it again. That failed, because the sdk manager killed it completely; I don't find the entry 'android support' anymore, so I can't re-install it.
Now I'm at my wit's end. Where can I get this file from, if the sdk manager doesn't offer it? How can I decide if I have the right version - say: what is the right version for the Notification Builder?
There is the directory m2repository/com/android/support/support-v4 with many directories and many files support-v4-xxx. But are these the same? And if yes, which one?