1. Error description
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
What went wrong:
Execution failed for task ‘:app:externalNativeBuildDebug’.
Build command failed.
Error while executing process D:\ProgramFiles\Android\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments
2. Cause of error
When developing JNI, this error occurs during compilation. It may be that the path of NDK is not set
3. Solutions
Add the path to the NDK in local.properties in the project directory
eg:
ndk.dir=D\:\\ProgramFiles\\Android\\sdk\\ndk\\21.3.6528147
Read More:
- Feign calls cannot use “_” to report errors [How to Solve]
- [Solved] JAVA Web Error: startup failed due to previous errors
- How to Solve JVM Common Errors: outofmemoryerror & stackoverflowerror
- How to Solve Errors encountered by maven
- JNI ERROR (2354): JNI connection is NULL [How to Solve]
- springcloud alibaba Integrating nacos reports errors: create config service error!properties=NacosConfigPropertie
- [Solved] IDEA mvn Error: GC overhead limit exceeded
- kakfa Create topic Error: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 3 larger than available brokers: 2.
- How to Solve JAVA Error: error: A JNI error has occureed
- OTA Pack Compile Error: ExternalError: Failed to run signapk.jar: return code 1:Error: A JNI error has occurred
- [Solved] ERROR: child process failed, exited with error number 100To see additional information in this …
- How to Solve “413 request entity too large” Error
- [Solved] JAVA Error: Error:A JNI error has occurred,please check your installation and try again
- [Solved] Web server failed to start. Port 8080 was already in use.
- RabbitMQ The channelMax limit is reached. Try later. [How to Solve]
- [Solved] ZK Connect Error: A JNI error has occurred, please check your installation and try again
- [Solved] Error: A JNI error has occurred, please check your installation and try again
- [Solved] Error: A JNI error has occurred, please check your installation and try again Exception in thread
- [Solved] PageHelper Error: syntax error, error in :‘it 1 LIMIT ? ‘