autojs6-banner_800×224

{{ text_autojs6_synopsis }}

GitHub release (latest by date) GitHub closed issues Created
Android Studio IntelliJ IDEA
Rhino JetBrains supporter GitHub License

****** ### {{ h3_languages_with_ascii }} ****** {{ p_languages_all_supported_for_readme }}: {{ placeholder_ul_languages_all_supported }} ****** ### {{ h3_introduction }} ****** {{ p_introduction_autojs_definition }}. {{ p_introduction_autojs_released_information }}. {{ p_introduction_autojs6_is_based_on_autojs }}. {{ p_introduction_related_autojs_table_announce }}: | {{ table_header_introduction_related_autojs_project }} | {{ table_header_introduction_related_autojs_app_name }} | {{ table_header_introduction_related_autojs_main_developers }} | {{ table_header_introduction_related_autojs_development_start_date }} | {{ table_header_introduction_related_autojs_development_end_date }} | {{ table_header_introduction_related_autojs_active_maintenance_phase_with_unit }} | |:------:|:------:|:------:|:------:|:------:|:------:| | [Auto.js](https://github.com/hyb1996/Auto.js) | [Auto.js](https://github.com/TonyJiangWJ/Auto.js/commit/268ec8895bbfa28fc7715154eb15b1c1eaaefd14#diff-5e01f7d37a66e4ca03deefc205d8e7008661cdd0284a05aaba1858e6b7bf9103R2) | [hyb1996](https://github.com/hyb1996) | `2017/01/27` | `2020/03/13` | 3.13 | | Auto.js Pro 7 | Auto.js | [hyb1996](https://github.com/hyb1996) | `2019/03/13` | `2019/07/08` | 0.32 | | Auto.js Pro 8 | AutoJsPro | [hyb1996](https://github.com/hyb1996) | `2019/10/13` | `2021/07/24` | 1.78 | | [Auto.js](https://github.com/TonyJiangWJ/Auto.js) | [Auto.js M](https://github.com/TonyJiangWJ/Auto.js/commit/268ec8895bbfa28fc7715154eb15b1c1eaaefd14#diff-5e01f7d37a66e4ca03deefc205d8e7008661cdd0284a05aaba1858e6b7bf9103R2) | [TonyJiangWJ](https://github.com/TonyJiangWJ) | `2019/11/21` | - | < {{ data_active_maintenance_phase_tonyjiangwj_auto_js }} > | | [AutoX](https://github.com/kkevsekk1/AutoX) | [Autox.js](https://github.com/kkevsekk1/AutoX/commit/8143e4ed893d4af05d22aa791b83a962f9959873#diff-5e01f7d37a66e4ca03deefc205d8e7008661cdd0284a05aaba1858e6b7bf9103R2) | [kkevsekk1](https://github.com/kkevsekk1) | `2020/07/24` | [ `2025/01/07` ] | 4.46 | | [Auto.js Pro 9](https://pro.autojs.org/) | AutoJsPro | [hyb1996](https://github.com/hyb1996) | `2021/03/28` | `2023/02/09` | 1.87 | | [AutoJs6](https://github.com/SuperMonster003/AutoJs6) | [AutoJs6](https://github.com/SuperMonster003/AutoJs6/commit/a8ce1b9acb541e9736c33134be3194c3148a15a3#diff-833a46a97033e77558372a2dce103fd6fee29aaaa899f610022a7aece592ee7bR27) | [SuperMonster003](https://github.com/SuperMonster003) | `2021/12/01` | - | < {{ data_active_maintenance_phase_supermonster003_autojs6 }} > | | [autojs4](https://github.com/blackcd318/autojs4) | Auto.js | [blackcd318](https://github.com/blackcd318) | `2021/12/15` | `2023/07/31` | 1.62 | | [AutoX](https://github.com/kkevsekk1/AutoX) | [Autox.js v6](https://github.com/kkevsekk1/AutoX/commit/8b6776cff8b0fca4be4a52719b7d7d07c0a058f3#diff-51a0b488f963eb0be6c6599bf5df497313877cf5bdff3950807373912ac1cdc9R130) | [wilinz](https://github.com/wilinz) / [aiselp](https://github.com/aiselp) | `2022/05/26` | [ `2025/01/07` ] | 2.62 | | [openautojs](https://github.com/openautojs/openautojs) | [OpenAuto.js](https://github.com/openautojs/openautojs/commit/a11feaad025154de9b453ba70b49e94a6ca8b48a#diff-7d757295fcec3b37c258337e048644c258233d79259152e77baa6d36bb0ec418R2) | [openautojs](https://github.com/openautojs) | `2023/02/17` | `2023/04/16` | 0.16 | | [AutoX](https://github.com/aiselp/AutoX) | [Autox.js v7](https://github.com/aiselp/AutoX/commit/484491fd5fe12b8203d0b09c181eb0f471c0ea9f#diff-8cff73265af19c059547b76aca8882cbaa3209291406f52df1dafbbc78e80c46R120) | [aiselp](https://github.com/aiselp) | `2024/04/21` | - | < {{ data_active_maintenance_phase_aiselp_autox }} > | | [Autoxjs_v6_ozobi](https://github.com/ozobiozobi/Autoxjs_v6_ozobi) | [Autox.js v6_ozobi](https://github.com/ozobiozobi/Autoxjs_v6_ozobi/blob/a651d02246e09cfbbfa87e6eaccf900fab/app/build.gradle.kts#L143) | [ozobiozobi](https://github.com/ozobiozobi) | `2024/10/01` | - | < {{ data_active_maintenance_phase_ozobiozobi_autox_ozobi }} > | | [AutoX](https://github.com/autox-community/AutoX) | [Autox.js v6](https://github.com/autox-community/AutoX/commit/8b6776cff8b0fca4be4a52719b7d7d07c0a058f3#diff-51a0b488f963eb0be6c6599bf5df497313877cf5bdff3950807373912ac1cdc9R130) | [autox-community](https://github.com/autox-community) | `2025/03/30` | - | < {{ data_active_maintenance_phase_autox_community_autox }} > | {{ p_introduction_related_autojs_table_date_is_estimated }}. {{ p_introduction_related_autojs_table_app_is_free_or_not }}. {{ p_introduction_related_autojs_table_development_end_date_with_square_brackets }}. {{ p_introduction_related_autojs_table_active_maintenance_data_with_angle_brackets }}. ****** ### {{ h3_functions }} ****** * {{ li_function_ide_features }} * {{ li_function_accessibility_service_support }} * {{ li_function_floating_button_quick_actions }} * {{ li_function_selector_api_support }} * {{ li_function_layout_analysis_support }} * {{ li_function_recording_and_playback_support }} * {{ li_function_screenshot_and_image_matching_support }} * {{ li_function_e4x_support }} * {{ li_function_packaging_to_apk_support }} * {{ li_function_root_features_support }} * {{ li_function_tasker_plugin_support }} * {{ li_function_vscode_integration_support }} ****** ### {{ h3_environment }} ****** - {{ li_environment_android_os }} - {{ li_environment_api_requirement }} ****** ### {{ h3_manual }} ****** * [{{ li_manual_documentation }}](https://docs.autojs6.com) * [{{ li_manual_user_manual }}](https://docs.autojs6.com/#/manual) * [{{ li_manual_troubleshooting }}](https://docs.autojs6.com/#/qa) * [{{ h3_project_compilation_and_build }}](#project-compilation-and-build) * [{{ h3_script_development_assistance }}](#script-development-assistance) ****** ### {{ h3_major_changes }} ****** {{ p_major_changes_autojs6_version_updates }}: * {{ li_major_changes_shizuku_adb_privileges_support }} * {{ li_major_changes_websocket_support }} * {{ li_major_changes_new_modules }} * {{ li_major_changes_multilingual_support }} * {{ li_major_changes_theme_color_support }} * {{ li_major_changes_night_mode_support }} * {{ li_major_changes_vscode_plugin_support }} * {{ li_major_changes_rhino_engine_upgrade }} * {{ li_rhino_feature_unicode_code_point_escapes_support }} ```javascript '\u{1D160}'; /* {{ text_stands_for }} "𝅘𝅥𝅮", {{ text_traditional_method_lowercase }}: '\uD834\uDD60'. */ ``` * {{ li_rhino_feature_object_values_support }} ```javascript Object.values({name: 'Max', age: 4}); // ['max', 4] ``` * {{ li_rhino_feature_array_includes_support }} ```javascript [10, 20, NaN].includes(20); // true ``` * {{ li_rhino_feature_bigint_support }} ```javascript typeof 567n === 'bigint'; // true ``` * {{ li_rhino_feature_template_strings_support }} ```javascript `Lucky number: ${(Math.random() * 100).toFixed(0)}` ``` * {{ li_rhino_feature_rhino_engine_new_features }} * {{ li_rhino_feature_rhino_engine_compatibility_list }} ****** ### {{ h3_version_histories }} ****** {{ placeholder_latest_three_version_histories }} ##### {{ h5_for_more_version_history }} * {{ placeholder_read_more_in_changelog_md }} ****** ### {{ h3_project_compilation_and_build }} ****** {{ p_project_compilation_and_build_android_studio_intellij_idea }}. {{ p_project_compilation_and_build_android_studio_build_methods }}. #### {{ h4_android_studio_preparation }} {{ p_android_studio_preparation_download_android_studio }}: - [{{ android_studio_latest_recommended_file_name_of_exe }}]({{ android_studio_latest_recommended_download_address_of_exe }}) ({{ android_studio_latest_recommended_file_size_of_exe }}) - [{{ android_studio_latest_recommended_file_name_of_zip }}]({{ android_studio_latest_recommended_download_address_of_zip }}) ({{ android_studio_latest_recommended_file_size_of_zip }}) - [{{ android_studio_latest_recommended_file_name_of_tar }}]({{ android_studio_latest_recommended_download_address_of_tar }}) ({{ android_studio_latest_recommended_file_size_of_tar }}) > {{ bq_annotation_android_studio_release_date_note }}. {{ p_android_studio_preparation_install_android_studio }}. #### {{ h4_android_sdk_preparation }} > {{ bq_annotation_android_sdk_preparation_skip_if_sdk_installed }}. {{ p_android_sdk_preparation_open_settings_android_studio }}: ```text {{ step_help }} {{ symbol_pipe }} {{ step_find_action }} {{ symbol_hash }} {{ text_input }} "Android SDK" [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_hash }} {{ text_search }} "Android SDK" [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_pipe }} {{ step_languages_and_frameworks }} {{ symbol_pipe }} {{ step_android_sdk }} [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_pipe }} {{ step_appearance_behavior }} {{ symbol_pipe }} {{ step_system_settings }} {{ symbol_pipe }} {{ step_android_sdk }} ``` {{ p_android_sdk_preparation_edit_sdk_location }}. > {{ bq_annotation_android_sdk_preparation_accept_agreements }}. {{ p_android_sdk_preparation_finish_sdk_installation }}. {{ p_android_sdk_preparation_auto_sdk_location_filled }}. #### {{ h4_android_sdk_tools_preparation }} {{ p_android_sdk_tools_preparation_sdk_tools_required }}. > {{ bq_annotation_android_sdk_tools_preparation_skip_if_tools_installed }}. {{ p_android_sdk_tools_preparation_sdk_tools }}: ```text {{ step_help }} {{ symbol_pipe }} {{ step_find_action }} {{ symbol_hash }} {{ text_input }} "SDK Tools" [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_hash }} {{ text_search }} "SDK Tools" [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_pipe }} {{ step_languages_and_frameworks }} {{ symbol_pipe }} {{ step_android_sdk }} {{ symbol_pipe }} {{ step_sdk_tools_show_details }} [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_pipe }} {{ step_appearance_behavior }} {{ symbol_pipe }} {{ step_system_settings }} {{ symbol_pipe }} {{ step_android_sdk }} {{ symbol_pipe }} {{ step_sdk_tools_show_details }} ``` {{ p_android_sdk_tools_preparation_show_package_details }}. #### {{ h4_jdk_preparation }} {{ p_jdk_preparation_jdk_version_requirements }}. {{ p_jdk_preparation_jdk_max_supported_version }}. > {{ bq_annotation_jdk_preparation_skip_if_jdk_installed }}. {{ p_jdk_preparation_download_jdk }}. {{ p_jdk_preparation_open_jdk_settings }}: ```text {{ step_help }} {{ symbol_pipe }} {{ step_find_action }} {{ symbol_hash }} {{ text_input }} "Gradle JDK" [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_hash }} {{ text_search }} "Gradle" [ {{ text_or }} ] {{ step_file }} {{ symbol_pipe }} {{ step_settings }} {{ symbol_pipe }} {{ step_build_execution_deployment }} {{ symbol_pipe }} {{ step_build_tools }} {{ symbol_pipe }} Gradle ``` {{ p_jdk_preparation_select_gradle_jdk }}. {{ p_jdk_preparation_select_existing_jdk }}. {{ p_jdk_preparation_download_new_jdk }}. {{ p_jdk_preparation_add_existing_jdk }}. #### {{ h4_autojs6_resources_cloning }} {{ p_autojs6_resources_cloning_clone_from_vcs }}. {{ p_autojs6_resources_cloning_fill_url }}, {{ p_autojs6_resources_cloning_fill_directory }}. {{ p_autojs6_resources_cloning_click_clone_button }}. > {{ bq_annotation_autojs6_resources_cloning_install_git_note }}. #### {{ h4_autojs6_project_building }} {{ p_autojs6_project_cloning_autobuild_dependencies }}. > {{ bq_annotation_autojs6_project_cloning_retry_clone }}. {{ p_autojs6_project_building_if_failed }}: - {{ li_project_build_step_toolbar }} - {{ li_project_build_step_click_build_project }} - {{ li_project_build_step_wait_build_success }} {{ p_autojs6_project_building_failed }}. > {{ bq_annotation_autojs6_project_building_reference }} #### {{ h4_autojs6_project_deploy_run }} {{ p_autojs6_project_deploy_run_overview }}. - {{ li_deploy_run_step_select_app }} - {{ li_deploy_run_step_select_device }} - {{ li_deploy_run_step_click_run }} - {{ li_deploy_run_step_wait_install }} #### {{ h4_autojs6_project_deploy_apk }} {{ p_autojs6_project_deploy_apk_overview }}: - {{ step_debug_version_path }} - {{ step_generate_debug_apk }} {{ symbol_pipe }} `Build Bundle(s) / APK(s)` {{ symbol_pipe }} `Build APK(s)` - {{ step_debug_apk_path }} - {{ step_example_debug_path }} - {{ step_release_version_apk }} - {{ step_release_version_path }} {{ symbol_pipe }} `Generate Signed Bundle / APK` - {{ step_select_apk_option }} - {{ step_prepare_signing_file }} - {{ step_example_release_path }} > {{ bq_annotation_autojs6_project_deploy_apk }} #### {{ h4_autojs6_gradle_tasks }} {{ p_autojs6_gradle_tasks_intro }}. {{ p_autojs6_gradle_tasks_overview }}. - AutoJs6 [inrt:assemble] {{ p_gradle_task_inrt_summary }}. {{ p_gradle_task_inrt_description }}. {{ p_gradle_task_inrt_exception }}: > java.io.FileNotFoundException: template.apk {{ p_gradle_task_inrt_exception_explanation }}. > {{ bq_annotation_gradle_task_inrt_rebuild_if_needed }} - AutoJs6 [app:bundle] {{ p_gradle_task_app_bundle_summary }}. {{ p_gradle_task_app_bundle_description }}. - AutoJs6 [app:digest] {{ p_gradle_task_app_digest_summary }}. {{ p_gradle_task_app_digest_filename_comparison }}: ```text {{ label_before }}: autojs6-v6.6.2-arm64-v8a.apk {{ label_after }}: autojs6-v6.6.2-arm64-v8a-0f2a9d74.apk ``` > {{ text_reference }}: [Android Docs](https://developer.android.com/studio/run?hl=zh-cn) ****** ### {{ h3_script_development_assistance }} ****** {{ li_development_assistance_develop_scripts_for_autojs6 }}: - [VSCode](https://code.visualstudio.com/download) / [WebStorm](https://www.jetbrains.com/webstorm/download/) / [HBuilderX](https://www.dcloud.io/hbuilderx.html) ... {{ li_development_assistance_vscode_plugin_pc_script_development }}: - {{ li_development_assistance_project_autojs6_vscode_extension }} {{ li_development_assistance_code_completion_assist_development }}: - {{ li_development_assistance_project_autojs6_typescript_declarations }} {{ li_development_assistance_autojs6_api_reference_docs }}: - {{ li_development_assistance_project_autojs6_documentation }} {{ li_development_assistance_existing_projects_inspiration }}: - {{ li_development_assistance_projects_inspiration_ant_forest_tonyjiangwj }} - {{ li_development_assistance_projects_inspiration_ant_forest_supermonster003 }} - {{ li_development_assistance_projects_inspiration_autojs_util_scripts_e1399579 }} - {{ li_development_assistance_projects_inspiration_autojs_demo_snailuncle }} - {{ li_development_assistance_projects_inspiration_autojs_related_repos }} ****** ### {{ h3_contribution }} ****** {{ p_contribution_table_thank_all_contributors }}. | {{ table_header_contribution_contributors }} | {{ table_header_contribution_number_of_commits }} | {{ table_header_contribution_recent_submissions }} | |:------:|:------:|:------:| | [LYS86](https://github.com/LYS86) `(Lin)` | [4](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3ALYS86) | `2025/12/26` | | [wirsnow](https://github.com/wirsnow) | [1](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3Awirsnow) | `2025/05/19` | | [TonyJiangWJ](https://github.com/TonyJiangWJ) | [4](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3ATonyJiangWJ) | `2025/04/24` | | [luckyloogn](https://github.com/luckyloogn) | [3](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3Aluckyloogn) | `2024/12/31` | | [kvii](https://github.com/kvii) | [1](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3Akvii) | `2024/10/16` | | [chenguangming](https://github.com/chenguangming) `(Tom)` | [2](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3Achenguangming) | `2024/05/14` | | [LZX284](https://github.com/LZX284) `(AI)` | [7](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3ALZX284) | `2023/11/15` | | [little‑alei](https://github.com/little-alei) `(抠脚本人)` | [12](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3Alittle-alei) | `2023/07/12` | | [aiselp](https://github.com/aiselp) | [6](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+is%3Amerged+author%3Aaiselp) | `2023/06/14` | {{ p_contribution_table_data_updated_on }}. {{ p_contribution_table_data_entries_sorted_by_recent_submissions }}. {{ p_contribution_table_new_pull_requests_pending_processing }}. {{ p_contribution_table_some_contributors_not_appearing }}. [//]: # ( # --------------------------------------------------------------# # Before committing and pushing to the remote GitHub repository # # --------------------------------------------------------------# - IDE - The summary of the latest changelog for committing to Git [ DO NOT commit or push ] - $projectDir/version.properties - Remove the part like [ alpha / beta / ... ] of VERSION_NAME - $projectDir/.changelog/lang_zh-Hans.json - Update version name and released date - Translate into other languages - Update TypeScript declarations according to section `dependency` if needed - $projectDir/.readme/template_readme.md - Update Rhino badge - Update Android Studio and IntelliJ IDEA badges [ link: aj6mdgen ] - Update contribution section: [ h3_contribution ] [ link: aj6scrapers ] - $projectDir/.readme/common.json - Update android studio download links and version names [ link: aj6scrapers ] - Update contribution section: var_date_contribution_table_data_updated [ link: aj6scrapers ] - $projectDir/.python/generate_markdown.py - Re-generate markdown by running the python script [ link: aj6mdgen ] - Others - Re-generate documentation by running the python script [ link: aj6docgen ] - Check the two-way versions for AutoJs6 and VSCode ext, then publish the ext to Microsoft if needed - Run Gradle task "app:assembleInrtRelease" [ shortcut: C+A+0#- ] - Build APK to determine the final VERSION_BUILD field [ shortcut: C+A+0#A ] - Run Gradle task "app:appendDigestToReleasedFiles" [ shortcut: C+A+0#= ] - Check VERSION_BUILD in version.properties with released apks - Commit and push to GitHub - Publish the latest release with signed APKs )