{"id":16800891,"url":"https://github.com/kochavi-daniel/fastlane-plugin-analyze-apk","last_synced_at":"2025-04-11T00:31:54.109Z","repository":{"id":56845618,"uuid":"96023375","full_name":"kochavi-daniel/fastlane-plugin-analyze-apk","owner":"kochavi-daniel","description":"Fastlane plugin to analyze Android APKs","archived":false,"fork":false,"pushed_at":"2019-06-26T22:23:48.000Z","size":59,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-22T09:02:30.937Z","etag":null,"topics":["aapt","android","continuous-delivery","continuous-deployment","continuous-integration","fastlane","fastlane-plugin"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kochavi-daniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-02T12:57:23.000Z","updated_at":"2020-06-12T19:17:56.000Z","dependencies_parsed_at":"2022-09-09T16:00:18.660Z","dependency_job_id":null,"html_url":"https://github.com/kochavi-daniel/fastlane-plugin-analyze-apk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochavi-daniel%2Ffastlane-plugin-analyze-apk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochavi-daniel%2Ffastlane-plugin-analyze-apk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochavi-daniel%2Ffastlane-plugin-analyze-apk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochavi-daniel%2Ffastlane-plugin-analyze-apk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kochavi-daniel","download_url":"https://codeload.github.com/kochavi-daniel/fastlane-plugin-analyze-apk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322276,"owners_count":21084334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aapt","android","continuous-delivery","continuous-deployment","continuous-integration","fastlane","fastlane-plugin"],"created_at":"2024-10-13T09:35:23.483Z","updated_at":"2025-04-11T00:31:54.082Z","avatar_url":"https://github.com/kochavi-daniel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"165\" height=\"129\" src=\"apk_analyzer.png\" /\u003e\n    \u003ch1 align=\"center\"\u003eanalyze_apk plugin\u003c/h1\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://rubygems.org/gems/fastlane-plugin-analyze_apk\"\u003e\u003cimg src=\"https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://rubygems.org/gems/fastlane-plugin-analyze_apk\"\u003e\u003cimg src=\"https://badge.fury.io/rb/fastlane-plugin-analyze_apk.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://rubygems.org/gems/fastlane-plugin-analyze_apk\"\u003e\u003cimg src=\"http://ruby-gem-downloads-badge.herokuapp.com/fastlane-plugin-analyze_apk?type=total\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Getting Started\nThis project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-analyze_apk`, add it to your project by running:\n\n```bash\nfastlane add_plugin analyze_apk\n```\n\n## About analyze_apk\nAnalyze APK extracts usefull information about your generated APK.\n\n**Options:**\n\n**Key**|**Description**\n-----|-----\napk\\_path|Path to the apk you want to inspect\nandroid\\_home|Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx\nbuild\\_tools\\_version|The Android build tools version to use e.g. '23.0.2'\n\n**Output variables:**\n\n**SharedValue**|**Description**\n-----|-----\nANALYZE\\_APK\\_PACKAGE\\_NAME|APK's package name\nANALYZE\\_APK\\_VERSION\\_CODE|APK's version code\nANALYZE\\_APK\\_VERSION\\_NAME|APK's version name\nANALYZE\\_APK\\_APP\\_NAME|App's name\nANALYZE\\_APK\\_MIN\\_SDK|APK's minimal sdk version\nANALYZE\\_APK\\_SIZE|APK's size (bytes)\n\n* You can access these values using: ```lane_context[SharedValues::VARIABLE_NAME]```\n\n## Example\nThe following lane creates an apk using the [gradle action](https://docs.fastlane.tools/actions/#gradle) then it takes the generated apk and runs ```analyze_apk``` on it (using a ```SharedValue``` set by the gradle action):\n\n```ruby\nfastlane_version \"2.39.2\"\n\ndefault_platform :android\n\nplatform :android do\n\n  desc \"Create an apk and print information about it\"\n  lane :apk do\n    gradle( #builds your apk\n      task: \"assembleRelease\"\n    )\n    analyze_apk(\n      android_home: 'path/to/your/Android/sdk',\n      build_tools_version: '23.0.2',\n      apk_path: lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]\n    )\n    puts(\"Version name: #{lane_context[SharedValues::ANALYZE_APK_VERSION_NAME]}\")\n    puts(\"Package name: #{lane_context[SharedValues::ANALYZE_APK_PACKAGE_NAME]}\")\n    puts(\"Version code: #{lane_context[SharedValues::ANALYZE_APK_VERSION_CODE]}\")\n    puts(\"App name: #{lane_context[SharedValues::ANALYZE_APK_APP_NAME]}\")\n    puts(\"Minimum sdk: #{lane_context[SharedValues::ANALYZE_APK_MIN_SDK]}\")\n    puts(\"Apk size: #{lane_context[SharedValues::ANALYZE_APK_SIZE]} bytes\")\n  end\nend\n```\n\n## Issues and Feedback\n\nFor any other issues and feedback about this plugin, please submit it to this repository.\n\n## Troubleshooting\n\nIf you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.\n\n## Using _fastlane_ Plugins\n\nFor more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).\n\n## About _fastlane_\n\n_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkochavi-daniel%2Ffastlane-plugin-analyze-apk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkochavi-daniel%2Ffastlane-plugin-analyze-apk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkochavi-daniel%2Ffastlane-plugin-analyze-apk/lists"}