Comments (17)
@Naresh448 Can you share more information to help us understand this better.
- Are you facing this on all devices or specific devices?
- Does this happen when the app is run from Android Studio ? Is Instant Run enabled?
- What is the gradle & gradle plugin version ?
from hotline-android.
- I have tested it on nexus5x(7.1.2).
- yes it is runned from Android Studio. Instant run is disabled.
- compile 'com.github.freshdesk:hotline-android:1.2.4' amd compile sdkversion is 26
from hotline-android.
@Naresh448 Thanks for this information. Can you share the specific gradle version (3.3/3.5/4.0 etc) and Android gradle plugin version (2.3.x etc) you're using ?
from hotline-android.
@tryprasannan
Gradle version: 4.0.1
Android plugin version : 2.3.3
from hotline-android.
@tryprasannan are you able to figure out why it is happening or you required more information about it please comment.
from hotline-android.
@Naresh448 It looks like there's an issue when building with Gradle 4.0, can you try with Gradle 3.5 ?
from hotline-android.
@tryprasannan we have tried but its not working
from hotline-android.
@Naresh448 We're able to reproduce this issue. We think it's a build tools issue at this point. We've tried several combinations of gradle plugin & gradle versions. We'll continue investigating and share once we have an update.
from hotline-android.
Hi, we're also getting this:
86 20314-20314/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: co.edgeapp.backstage, PID: 20314
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/app/ActionBarActivity;
at com.freshdesk.hotline.util.l.a(Unknown Source)
at com.freshdesk.hotline.Hotline.showConversations(Unknown Source)
at com.freshdesk.hotline.Hotline.showConversations(Unknown Source)
This is not surprising, as in the latest support packages, the ActionBarActivity has been removed:
https://stackoverflow.com/questions/29890530/actionbaractivity-is-deprecated
from hotline-android.
@dimipaun ActionBarActivity is still used to keep the SDK compatible with app's targeting older Android versions. But it can be resolved by adding a proxy class manually if you are building with support lib 26.x.x where this is removed. Create the class ActionBarActivity with the same package name as it is present in support library and extend AppCompatActivity and include this in your project and it should work.
from hotline-android.
OK, but shouldn't this be handled by your SDK? I mean, this will fail with this strange error for anyone compiling with the lastest SDK, no?
from hotline-android.
@dimipaun Yes, this should ideally be handled by the SDK. What was suggested above is a temporary workaround. We're looking at ways to improve this experience.
from hotline-android.
This is really sad that not one is keen to resolve this issue at earliest. This is very very important to resolve as we just couldnt able to make our app compatible for Android Oreo just because of @hotline SDK and its really sad that they are just ignoring our comments. They should react very prompt fully with this major issue and should resolve at earliest. I doubt if I would recommend using hotline to other colleagues.
from hotline-android.
@bhaveshopenxcell We have shared a work around already for building with Oreo as Target above. If this still doesn't work for you, please reply here. We have documented the workaround in our integration guide as well
Edit: AppCompat does this same thing internally (i.e proxy ActionBarActivity to AppCompatActivity) which is exactly the workaround we have suggested above, until it was removed in 26.x.x
from hotline-android.
If this doesn't work, please reach out to us @ [email protected] or reopen this issue.
from hotline-android.
I tried out your workaround on the integration guide but it did not work in my case. I have reverted to API 25 for now.
Hotline version 1.2.5
Support library version 26.1.0
Sdk version 26
Build tools 26.0.2
from hotline-android.
I am facing the same issue. The package solution is a VERY hacky way to fix this, considering the issue as reported in Aug, its highly disappointing that hotline is yet to fix it.
from hotline-android.
Related Issues (20)
- android 7 会crash HOT 5
- Crashing in lolipop and lesser with latest appcompatv7 library HOT 18
- Typo in styles.xml HOT 2
- File URI exposed exception HOT 2
- Android 7.0+ issue in Hotline v1.2.3
- Crashing when clicked on conversations HOT 4
- No Such Element Exception HOT 5
- java.lang.NullPointerException in faq HOT 3
- HotlineComponentNotFoundException HOT 4
- Its getting crashed due to use of ActionBarActivity in your library when app is uses latest support library(v26.0.0) at the time of writing HOT 5
- Hotline.jar uses the support v7 22.2.1 HOT 5
- Allow .setLargeIcon(Bitmap bitmap) for HotlineNotificationConfig HOT 1
- Keyboard does not get closed on back from chat screen HOT 3
- requesting audio permission - how to remove HOT 1
- OutOfMemoryError in Hotline's AsyncTask HOT 4
- How to change the "Inbox" title in chat screen HOT 2
- ChannelListActivity shown before Chat Screen (ConversationDetailActivity)
- NoClassDefFoundError in v1.2.6 HOT 3
- CONNECTIVITY_CHANGE implicit broadcast HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotline-android.