Foreword: the company uses version 3.0, and its computer is installed with version 2.2.2. The imported project gradle has reported an error, which has been encountered before. The reason for time has forgotten how to solve it, so Google has solved it, and hereby records it in a blog
Error:This Gradle Plugin requires studio 3.0 minimum
error: gradle plug-in requires 3.0 minimum
add this code android.injected.build.model.only.versioned=3
According to the above steps, the problem of gradle plug-in is solved, and an error is reported at runtime
Installation failed with message INSTALL_ FAILED_ TEST_ ONLY.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
No matter you click cancel or OK, the installation is not successful, as shown in the following figure
The solution: still in gradle.properties File addition android.injected.testOnly=false
Then the problem is solved, the project can run normally on the mobile phone, and can play happily
- Android Error:Internal error:org.gradle.tooling.BuildException: Could not execute build…
- Overleaf PDF Rendering Error Something went wrong while rendering this PDF [How to Solve]
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- Runtime error prompt in Android Studio: arrayadapter requires the resource ID to be a textview problem
- Angularjs1 exception error:[$injector:unpr]
- You have not accepted the license agreements of the following SDK components
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“
- Error: # error PCL requires C++ 14 or above
- Start failure: spawn CMD enoent error (How to Fix)
- Error starting ApplicationContext. To display the auto-configuration report re-run your application
- flutter | W/zipro(12512): Error opening archive D:\…Invalid file ERROR: dump failed because…
- laravel Error mews/captcha is locked to version 3.2.4 and an update of this package was not requested.
- Android studio can’t start, running error: warning: crash service did not start
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- How to Solve Error inflating class android.support.design.widget.FloatingActionButton
- Some problems encountered in the initial construction of Ant Design Pro project, such as cross Env, webpack and so on
- Mac installation tree command error solution
- Mavenzai install Error: There are test failures
- WordPress update failed 429 too many requests (How to Fix)
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade