Giter Site home page Giter Site logo

Comments (9)

relaxedSoul avatar relaxedSoul commented on August 29, 2024 2

@RTimal still get crashes on the active devices sometimes. Nothing changed.

from android-getting-started-samples.

RTimal avatar RTimal commented on August 29, 2024

Any updates on this @relaxedSoul ?

from android-getting-started-samples.

avishkar2k avatar avishkar2k commented on August 29, 2024

Issue on Android 8.0 and above:


java.lang.RuntimeException: 
 
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3399)
 
  at android.app.ActivityThread.-wrap18 (Unknown Source)
 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1780)
 
  at android.os.Handler.dispatchMessage (Handler.java:105)
 
  at android.os.Looper.loop (Looper.java:164)
 
  at android.app.ActivityThread.main (ActivityThread.java:6940)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)

Caused by: java.lang.IllegalStateException: 
 
  at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1538)
 
  at android.app.ContextImpl.startService (ContextImpl.java:1484)
 
  at android.content.ContextWrapper.startService (ContextWrapper.java:663)
 
  at android.content.ContextWrapper.startService (ContextWrapper.java:663)
 
  at com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.handlePackageReplaced (CdsReceiver.java:123)
 
  at com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.onReceive (CdsReceiver.java:103)
 
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3392)

Getting this crash very frequently even after updating to the version -

compile 'com.adobe.creativesdk.foundation:auth:0.9.2006-5'  
compile 'com.adobe.creativesdk:image:4.8.4'

from android-getting-started-samples.

Seishin avatar Seishin commented on August 29, 2024

I'm experiencing the very same problem and found a migration article that states to remove the CDS Service because the SDK is now responsible for this operations.

Here is the article: https://creativesdk.zendesk.com/hc/en-us/articles/211241666-Android-migration-guide-from-0-9-7-to-0-9-1062

from android-getting-started-samples.

Seishin avatar Seishin commented on August 29, 2024

Update

The above solution shared by me is not working. Every time the app has been updated - this crashes starts popping up... I don't know how could be handled by us...

from android-getting-started-samples.

leokho avatar leokho commented on August 29, 2024

Hello,

Having the same issue any updates on this?

Thanks!

from android-getting-started-samples.

superandrew213 avatar superandrew213 commented on August 29, 2024

Try removing this part

Intent cdsIntent = AdobeImageIntent.createCdsInitIntent(getBaseContext(), "CDS");
startService(cdsIntent);

from android-getting-started-samples.

Seishin avatar Seishin commented on August 29, 2024

@superandrew213 where is this intent?

from android-getting-started-samples.

superandrew213 avatar superandrew213 commented on August 29, 2024

@Seishin unfortunately that won't fix it. The issue is with the background thread.

Maybe there is a way to catch and silence this exception?

from android-getting-started-samples.

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.