-
Notifications
You must be signed in to change notification settings - Fork 346
Fix build errors due to library and tool updates #152
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -223,10 +223,10 @@ AssetPackDownloadStatus PrintDownloadState(struct android_app *app) { | |
| */ | ||
| void ShowCellularDataConfirmation(struct android_app *app) { | ||
| AssetPackErrorCode error_code1 = | ||
| AssetPackManager_showCellularDataConfirmation(app->activity->clazz); | ||
| ShowCellularDataConfirmationStatus status; | ||
| AssetPackManager_showConfirmationDialog(app->activity->clazz); | ||
| ShowConfirmationDialogStatus status; | ||
| AssetPackErrorCode error_code2 = | ||
| AssetPackManager_getShowCellularDataConfirmationStatus(&status); | ||
| AssetPackManager_getShowConfirmationDialogStatus(&status); | ||
|
Comment on lines
225
to
+229
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You've updated the code to use the newer |
||
| char log[1000] = ""; | ||
| sprintf(log, | ||
| "ShowCellularDataConfirmation, error_code=%d; Cellular data confirmation status=%d, error_code=%d", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| #Wed Jan 07 10:37:12 SGT 2026 | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-bin.zip | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-all.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you've correctly updated
compileSdkVersionto 34, thetargetSdkVersionon line 29 remains at 28. It is highly recommended to settargetSdkVersionto the same value ascompileSdkVersion. Targeting a recent API level is a Google Play requirement for new apps and updates, and it ensures your app can leverage the latest platform features, security enhancements, and behavior changes. Failing to update it can lead to compatibility issues on newer Android devices.