New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instabug fails to initialize, throwing ClassNotFoundException #91
Comments
Hey @joharei, Thanks for all the details, we'll definitely look into this and get back to you as soon as possible! |
@joharei Can you please enable MultiDex, that should solve the issue. If it's already enabled and not working, is your main Application class extending MultiDexApplication? |
Hi @Korazy, |
@joharei I see, let us look into this again and get back to you. |
@joharei can you please tell me if you have any permissions in your AndroidManifest.xml? |
These are our permissions: <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission-sdk-23 android:name="android.permission.READ_CALENDAR" />
<uses-permission-sdk-23 android:name="android.permission.WRITE_CALENDAR" /> |
@joharei apologies for the delay. Can you please update your support libraries to be exactly like the version added in instabug which is 27.0.2, then clean the project and rebuild again? |
Hi, We were using 27.1.1, but I've now tried 27.0.2, and the problem persists. |
@joharei Have you tried cleaning the project or perhaps using ./gradlew --refresh-dependencies? |
Yes, I've tried both, and "Invalidate Caches / Restart". |
So what was changed from version 4.3.3 to 4.5.0 that could be related to this? |
@joharei Currently, we're investigating to find out the reason for this issue. Apologies for the hassle! |
can you please send us your app level build.gradle file and your project level build.gradle file as well? |
Hello @Korazy. I've taken over Johan's place in the project. I've added the build files as a zip-file. Let me know if you need any additional information. |
@oleandre Thank you! We'll take a look at them and get back to you. |
@oleandre can you please try adding |
Doesn't seem to work. I can supply with my code for setting up Instabug: `public static void setUpInstabug(Application application) {
I've tried both Floating Button and Screenshot Gesture as invocation events. |
Any news on this @Korazy ? |
@oleandre we tried all we could to reproduce the issue but we were unable to, would you be able to send us a sample project with the issue? |
Hey @oleandre Would you be able to send us a sample project? |
Hey @Korazy |
Hey @oleandre I hope you're well. I just wanted to check if this issue is still ongoing with the latest release of 8.0.0? |
Hi @Korazy! We're in a major rewrite of our application, and we'll be releasing a beta in a month or two. I haven't looked anymore at it because of other priorities, but I will ping you when I have analyzed the problem again. Thank you so much for the follow-up, and have a great day! :-) |
@oleandre It's no worries at all. I hope everything works out great for you with the rewrite! Have a lovely day :) |
@Korazy Hi. I tried to use Instabug again today and incremented the version code to 8.0.3(that's the last version right?). The first time I open the application(after installation) I get the message from Instabug that I can trigger by shaking phone, but I'm not able to trigger it. Any more tips and do I have the correct version code? |
@Korazy I added the 'com.instabug.library:instabug:8+' in addition to 'com.instabug.library:instabug-with-okhttp-interceptor:8+' which I had before, and now it's working! You can close the issue :-) |
Instabug stopped working for us in version 4.5.0. 4.3.3 is working, but versions 4.5.0-4.13.1 are not. This stacktrace is repeated for lots of Instabug classes:
Instabug is set up like this:
Please tell me if I can provide more information.
The text was updated successfully, but these errors were encountered: