6.6.2 - Alpha5 - README.md 完善项目构建与运行相关内容

This commit is contained in:
SuperMonster003
2025-04-11 15:17:52 +08:00
parent 97011d3794
commit 0092344adb
30 changed files with 1265 additions and 227 deletions

View File

@@ -3,9 +3,12 @@
"bq_annotation_android_sdk_preparation_accept_agreements": "Note: During the process, one or more relevant agreements may need to be accepted to continue",
"bq_annotation_android_sdk_preparation_skip_if_sdk_installed": "Note: If the Android SDK is already installed on the computer system, this section can be skipped",
"bq_annotation_android_sdk_tools_preparation_skip_if_tools_installed": "Note: If all required Android SDK Tools for AutoJs6 are already installed on the computer system, this section can be skipped",
"bq_annotation_android_studio_release_date_note": "Note: The release date for the above version is {{ var_date_android_studio_latest_recommended_version_name }}. To download other versions, or if the above link is invalid, you can visit the [Android Studio release archive](https://developer.android.com/studio/archive?hl=en) page.",
"bq_annotation_android_studio_release_date_note": "Note: The release date for the above version is {{ var_date_android_studio_latest_recommended_version_name }}. To download other versions, or if the above link is invalid, you can visit the [Android Studio release archive](https://developer.android.com/studio/archive?hl=en) page",
"bq_annotation_autojs6_project_building_reference": "Note: For more details on building and running the app, please refer to [Android Docs](https://developer.android.com/studio/run?hl=en)",
"bq_annotation_autojs6_project_cloning_retry_clone": "Note: The above process may take a long time. If network conditions are poor, it may need to be retried multiple times (click the Retry button)",
"bq_annotation_autojs6_project_deploy_apk": "Note: For more information on building an app for user release, please refer to [Android Docs](https://developer.android.com/build/build-for-release?hl=en)",
"bq_annotation_autojs6_resources_cloning_install_git_note": "Note: The above process may require the installation of [Git](https://git-scm.com/download)",
"bq_annotation_gradle_task_inrt_rebuild_if_needed": "Note: The template file is missing; run the `inrt:assemble` task manually to generate it before rebuilding and redeploying the app",
"bq_annotation_jdk_preparation_skip_if_jdk_installed": "Note: If the JDK is already installed on the computer system and the version meets the above requirements, this section can be skipped",
"h3_contribution": "Contribution",
"h3_environment": "Environment",
@@ -20,10 +23,19 @@
"h4_android_sdk_preparation": "Android SDK Preparation",
"h4_android_sdk_tools_preparation": "Android SDK Tools Preparation",
"h4_android_studio_preparation": "Android Studio Preparation",
"h4_autojs6_gradle_tasks": "Predefined Gradle Build Tasks for AutoJs6",
"h4_autojs6_project_building": "AutoJs6 Project Building",
"h4_autojs6_project_deploy_apk": "AutoJs6 Project Deployment (Generate APK)",
"h4_autojs6_project_deploy_run": "AutoJs6 Project Deployment (Run App)",
"h4_autojs6_resources_cloning": "AutoJs6 Resources Cloning",
"h4_jdk_preparation": "JDK Preparation",
"h5_for_more_version_history": "For more version history, refer to",
"label_after": "After",
"label_before": "Before",
"li_deploy_run_step_click_run": "Click the `Run` (triangle icon) button on the right to launch the app. The default shortcut is `F10`",
"li_deploy_run_step_select_app": "In the Toolbar, select `app` from the `Run/Debug Configurations` menu, which is the main AutoJs6 application",
"li_deploy_run_step_select_device": "In the `Available Devices` dropdown on the right, choose the device on which the project app should run (physical or virtual)",
"li_deploy_run_step_wait_install": "Wait for the deployment to finish; the chosen device will automatically install and run the project app",
"li_development_assistance_autojs6_api_reference_docs": "When writing code, AutoJs6-related API and usage can be consulted in the documentation at any time",
"li_development_assistance_code_completion_assist_development": "When writing code using development tools, code completion functionality can better assist developers in completing code",
"li_development_assistance_develop_scripts_for_autojs6": "To develop scripts that run with AutoJs6, appropriate development tools must be used",
@@ -61,6 +73,9 @@
"li_manual_documentation": "Application Documentation",
"li_manual_troubleshooting": "Troubleshooting",
"li_manual_user_manual": "User Manual (to be written)",
"li_project_build_step_click_build_project": "Click the `Build Project` (hammer icon) button on the left to start building the project. The default shortcut is CTRL + F9",
"li_project_build_step_toolbar": "From the `Run/Debug Configurations` menu in the Toolbar, select `app`, which is the main AutoJs6 application",
"li_project_build_step_wait_build_success": "Wait for the build to complete. The `Builder Output` tab will display a message such as \"BUILD SUCCESSFUL in 1h 17m 34s\"",
"li_rhino_feature_array_includes_support": "Supports [Array.prototype.includes()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes)",
"li_rhino_feature_bigint_support": "Supports [BigInt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt)",
"li_rhino_feature_object_values_support": "Supports [Object.values()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values)",
@@ -77,9 +92,15 @@
"p_android_sdk_tools_preparation_show_package_details": "Check `Show Package Details`, click NDK and CMake respectively to ensure the corresponding version tools are checked, the version information of the SDK tools is located in the `version.properties` file in the root directory of the AutoJs6 project",
"p_android_studio_preparation_download_android_studio": "Download `{{ android_studio_latest_recommended_version_name }}` version (choose one as needed)",
"p_android_studio_preparation_install_android_studio": "Install or extract the above file, then run the Android Studio software (e.g., `\"D:\\android-studio\\bin\\studio64.exe\"`)",
"p_autojs6_gradle_tasks_intro": "Besides building the project App, AutoJs6 supports several predefined Gradle build tasks that help developers perform convenient project-related operations",
"p_autojs6_gradle_tasks_overview": "Under the `Run/Debug Configurations` menu in the Toolbar, you can find various predefined Gradle tasks, each indicated by an elephant icon on the left",
"p_autojs6_project_building_failed": "If the build fails, you can report the error message to the AutoJs6 project's [Issues](http://issues.autojs6.com) page",
"p_autojs6_project_building_if_failed": "If the build couldn't proceed automatically or you need to rebuild the project, follow these steps",
"p_autojs6_project_cloning_autobuild_dependencies": "After cloning, Android Studio will open the AutoJs6 project window and automatically complete the preliminary `Dependencies` download and Gradle build work",
"p_autojs6_project_cloning_build_successful": "Upon completion of the build, the `Build` tab in Android Studio will show a message similar to `BUILD SUCCESSFUL in 1h 17m 34s`",
"p_autojs6_project_cloning_debug_version_apk": "Package the project and generate an APK file that can be installed on an Android device",
"p_autojs6_project_deploy_apk_overview": "Package the project and generate an APK file that can be installed on Android devices",
"p_autojs6_project_deploy_run_overview": "Once the project is built successfully, it can be deployed as an application (App) to a physical device (e.g., phone/tablet) or a virtual device (e.g., Android emulator)",
"p_autojs6_resources_cloning_click_clone_button": "Click the `Clone` button, wait for the AutoJs6 project resources to be cloned to the local device",
"p_autojs6_resources_cloning_clone_from_vcs": "Click `Get from VCS` button on the main page of Android Studio",
"p_autojs6_resources_cloning_fill_directory": "The `Directory` field can be modified to a specific path if needed",
@@ -89,6 +110,14 @@
"p_contribution_table_new_pull_requests_pending_processing": "Newly initiated, unprocessed Pull Requests will be included in the data statistics after merging",
"p_contribution_table_some_contributors_not_appearing": "Some contributors do not appear correctly in the [GitHub Contributors](https://github.com/SuperMonster003/AutoJs6/graphs/contributors) due to empty contribution records, but their contribution records can still be viewed via [Pull Request](https://github.com/SuperMonster003/AutoJs6/pulls)",
"p_contribution_table_thank_all_contributors": "Thank you to everyone who contributed to the AutoJs6 project development",
"p_gradle_task_app_bundle_description": "After running the task, it produces the latest JAR file for the AutoJs6 project. Using the [Android d.ts Generator](https://github.com/NativeScript/android-dts-generator) (by [NativeScript](https://github.com/NativeScript)), you can generate the type definitions (d.ts format) for the main AutoJs6 app",
"p_gradle_task_app_bundle_summary": "Package the outputs of the debug build process, primarily for the [AutoJs6 TypeScript definitions](http://dts-project.autojs6.com) project",
"p_gradle_task_app_digest_filename_comparison": "Below is the comparison of filenames before and after appending the digest information",
"p_gradle_task_app_digest_summary": "Append digest information to the APK produced by the release build, mainly to finalize the filename before publishing the latest version of AutoJs6 to GitHub",
"p_gradle_task_inrt_description": "The AutoJs6 project has various build variants. The \"inrt\" variant is used for packaging scripts, generating the template file \"template.apk\" required for packaging",
"p_gradle_task_inrt_exception": "When using the packaging feature, you might encounter the following error message",
"p_gradle_task_inrt_exception_explanation": "This indicates that the template file does not exist. You need to manually run the `inrt:assemble` task to generate the template file, then rebuild and redeploy the app",
"p_gradle_task_inrt_summary": "Assemble the \"inrt\" build variant, which primarily serves the AutoJs6 script packaging feature",
"p_introduction_autojs6_is_based_on_autojs": "AutoJs6 is based on the final project of Auto.js, undergoing secondary development on `2021/12/01` and continues to be open-source and free",
"p_introduction_autojs_definition": "[Auto.js](https://github.com/hyb1996/Auto.js) is a JavaScript automation tool software for the Android platform that supports [Accessibility Service](https://developer.android.com/guide/topics/ui/accessibility/service?hl=en)",
"p_introduction_autojs_released_information": "Auto.js was first released by [hyb1996](https://github.com/hyb1996) on `2017/01/27` and ceased maintenance on `2020/03/13`, with the final version name being `4.1.1 Alpha2` and build number `461`",