Skip to content

Maintaintence Changes#529

Closed
theimpulson wants to merge 2 commits intomasterfrom
development
Closed

Maintaintence Changes#529
theimpulson wants to merge 2 commits intomasterfrom
development

Conversation

@theimpulson
Copy link
Copy Markdown
Contributor

@theimpulson theimpulson commented Apr 5, 2025

Summary

  • Bump compileSdk to Android 16 (API 36)
  • Bump all dependencies, plugins, and Gradle to the latest stable release
  • Update Gradle wrapper using ./gradlew wrapper command
  • Address null-safety errors introduced in Android 15

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* Fix nullability errors introduced by compileSdk to 35

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
@theimpulson
Copy link
Copy Markdown
Contributor Author

theimpulson commented Apr 6, 2025

@pnu-s seems exodus-standalone needs updates to handle errors?

Run docker://exodusprivacy/exodus-standalone:v1.4.0
/usr/bin/docker run --name exodusprivacyexodusstandalonev140_d81e5b --label e0bef1 --workdir /github/workspace --rm -e "EXODUS_API_KEY" -e "JAVA_HOME" -e "JAVA_HOME_17_X64" -e "INPUT_ARGS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/exodus-android-app/exodus-android-app":"/github/workspace" exodusprivacy/exodus-standalone:v1.4.0 /github/workspace/app/build/outputs/apk/debug/app-debug.apk
Requested API level 34 is larger than maximum we have, returning API level 28 instead.
Traceback (most recent call last):
=== Information
- APK path: /github/workspace/app/build/outputs/apk/debug/app-debug.apk
- APK sum: 677543520d9e710458ad584ecbe7fbd4c34be51d21357267cb9528a086f7e4e8
- App version: 3.3.2-debug
- App version code: 23
- App UID: 920CDA14CBAD906FDE814ADDCD08388950D85090
  File "/usr/local/lib/python3.9/site-packages/androguard/core/bytecodes/apk.py", line 1506, in get_android_resources
    return self.arsc["resources.arsc"]
KeyError: 'resources.arsc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/exodus_analyze.py", line 134, in <module>
    main()
  File "/exodus_analyze.py", line 130, in main
    analyze_apk(args.apk, args.json_mode, args.output_file, args.override_code, ignore_list)
  File "/exodus_analyze.py", line 72, in analyze_apk
    analysis.print_apk_infos()
  File "/usr/local/lib/python3.9/site-packages/exodus_core/analysis/static_analysis.py", line 490, in print_apk_infos
    print('- App name: {}'.format(self.get_app_name()))
  File "/usr/local/lib/python3.9/site-packages/exodus_core/analysis/static_analysis.py", line 279, in get_app_name
    return self.apk.get_app_name()
  File "/usr/local/lib/python3.9/site-packages/androguard/core/bytecodes/apk.py", line 477, in get_app_name
    res_parser = self.get_android_resources()
  File "/usr/local/lib/python3.9/site-packages/androguard/core/bytecodes/apk.py", line 1512, in get_android_resources
    self.arsc["resources.arsc"] = ARSCParser(self.zip.read("resources.arsc"))
  File "/usr/local/lib/python3.9/site-packages/androguard/core/bytecodes/axml/__init__.py", line 1313, in __init__
    self.packages[package_name].append(ARSCResTypeSpec(self.buff, pc))
  File "/usr/local/lib/python3.9/site-packages/androguard/core/bytecodes/axml/__init__.py", line 2173, in __init__
    raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!

@codeurimpulsif
Copy link
Copy Markdown
Contributor

@theimpulson I don't know, but can you please explain this PR? I'm not an Android expert ^^

@theimpulson theimpulson changed the title Development Maintaintence Changes Apr 11, 2025
@theimpulson
Copy link
Copy Markdown
Contributor Author

@theimpulson I don't know, but can you please explain this PR? I'm not an Android expert ^^

My bad, I just added a summary explaining the changes. The changes are just general maintenance-related changes.

@codeurimpulsif codeurimpulsif requested review from U039b and pnu-s April 12, 2025 12:10
Copy link
Copy Markdown
Contributor

@codeurimpulsif codeurimpulsif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok for me but the build pipeline need to be fixed

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

Successfully merging this pull request may close these issues.

3 participants