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

unable to generate app-descriptor #207

Open
Shaunmax opened this issue Aug 2, 2024 · 3 comments
Open

unable to generate app-descriptor #207

Shaunmax opened this issue Aug 2, 2024 · 3 comments

Comments

@Shaunmax
Copy link

Shaunmax commented Aug 2, 2024

I just updated a project after a long time but was unable to generate the app descriptor

apm generate app-descriptor
Android package name: air.com.company.appname
✗ Android manifest merge  
generate/app-descriptor :: /Users/macname/Projects/AppName/apm_packages/com.distriqt.firebase.Performance/contents/platforms/android/firebase-sessions-2.0.0/AndroidManifest.xml Warning:
	Package name 'com.google.firebase.sessions' used in: AndroidManifest.xml, AndroidManifest.xml.
/Users/macname/Projects/AppName/.tmp59385/AndroidManifest.xml:4:5-74 Error:
	uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library /Users/macname/Projects/AppName/apm_packages/com.distriqt.firebase.Auth/contents/platforms/android/firebase-auth-23.0.0/AndroidManifest.xml as the library might be using APIs not available in 21
	Suggestion: use a compatible library with a minSdk of at most 21,
		or increase this project's minSdk version to at least 23,
		or use tools:overrideLibrary="com.google.firebase.auth" to force usage (may lead to runtime failures)
@marchbold
Copy link
Contributor

Did you try increasing your minimum to 23? I believe the firebase auth sdk has been updated to 23 due to a security issue.

@Shaunmax
Copy link
Author

Shaunmax commented Aug 5, 2024

Did you try increasing your minimum to 23?

where should I make this change ?

in the app xml its already <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="34"/>

@marchbold
Copy link
Contributor

https://github.com/airsdk/apm/wiki/Usage-Generate#android

Basically:

apm generate config android

And edit config/android/AndroidManifest.xml to contain your manifest additions and project settings outside of the packages:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" >

    <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="34" />

</manifest>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants