[go: nahoru, domu]

Skip to content
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

error: DuplicatePlatformClasses #3780

Open
dogi opened this issue Jul 3, 2024 · 0 comments
Open

error: DuplicatePlatformClasses #3780

dogi opened this issue Jul 3, 2024 · 0 comments
Labels
bug Something isn't working priority

Comments

@dogi
Copy link
Member
dogi commented Jul 3, 2024
[DuplicatePlatformClasses]
   Explanation for issues of type "DuplicatePlatformClasses":
   There are a number of libraries that duplicate not just functionality of
   the Android platform but using the exact same class names as the ones
   provided in Android -- for example the apache http classes. This can lead
> Task :app:assembleRelease
   to unexpected crashes.
   To solve this, you need to either find a newer version of the library which
   no longer has this problem, or to repackage the library (and all of its
   dependencies) using something like the jarjar tool, or finally, rewriting
   the code to use different APIs (for example, for http code, consider using
   HttpUrlConnection or a library like okhttp).
/home/runner/work/***/***/app/src/main/AndroidManifest.xml:126: Error: This class should provide a default constructor (a public constructor with no arguments) (org.ole.planet.***.datamanager.MyDownloadService) [Instantiatable]
        <service android:name=".datamanager.MyDownloadService" />
@dogi dogi added bug Something isn't working priority labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority
Projects
None yet
Development

No branches or pull requests

1 participant