Giter VIP home page Giter VIP logo

Comments (17)

tryprasannan avatar tryprasannan commented on September 14, 2024

@Naresh448 Can you share more information to help us understand this better.

  1. Are you facing this on all devices or specific devices?
  2. Does this happen when the app is run from Android Studio ? Is Instant Run enabled?
  3. What is the gradle & gradle plugin version ?

from hotline-android.

Naresh448 avatar Naresh448 commented on September 14, 2024

@tryprasannan

  1. I have tested it on nexus5x(7.1.2).
  2. yes it is runned from Android Studio. Instant run is disabled.
  3. compile 'com.github.freshdesk:hotline-android:1.2.4' amd compile sdkversion is 26

from hotline-android.

tryprasannan avatar tryprasannan commented on September 14, 2024

@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.

Naresh448 avatar Naresh448 commented on September 14, 2024

@tryprasannan
Gradle version: 4.0.1
Android plugin version : 2.3.3

from hotline-android.

Naresh448 avatar Naresh448 commented on September 14, 2024

@tryprasannan are you able to figure out why it is happening or you required more information about it please comment.

from hotline-android.

tryprasannan avatar tryprasannan commented on September 14, 2024

@Naresh448 It looks like there's an issue when building with Gradle 4.0, can you try with Gradle 3.5 ?

from hotline-android.

Naresh448 avatar Naresh448 commented on September 14, 2024

@tryprasannan we have tried but its not working

from hotline-android.

tryprasannan avatar tryprasannan commented on September 14, 2024

@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.

dimipaun avatar dimipaun commented on September 14, 2024

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.

tryprasannan avatar tryprasannan commented on September 14, 2024

@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.

dimipaun avatar dimipaun commented on September 14, 2024

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.

tryprasannan avatar tryprasannan commented on September 14, 2024

@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.

bhaveshopenxcell avatar bhaveshopenxcell commented on September 14, 2024

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.

tryprasannan avatar tryprasannan commented on September 14, 2024

@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.

tryprasannan avatar tryprasannan commented on September 14, 2024

If this doesn't work, please reach out to us @ [email protected] or reopen this issue.

from hotline-android.

kshitij-sminq avatar kshitij-sminq commented on September 14, 2024

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.

 avatar commented on September 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.