Some problems with Android AIDL
(1) Starting Service ** is required after 5.0
An error will be reported if the service is started implicitly (unless Intent. SetPackage (” application package name of the service to be started “) is started implicitly).
Error:(9, 41) No symbol can be found
The reason is that the other class name (Java) file is mixed with aidl’s aidl file in the same directory
Java files have to be placed under the Java file (server package name + Java file).
Error 1
Error: Error converting the bytecode to dex:
Cause: Java. Lang. RuntimeException: Exception parsing classes
Reason package names contain uppercase letters
example:
er.java
p>ge com.example.lqm;
user.java
package com.example.lqm;
public class User implements Parcelable{
private String id;
privte String name;
… .
}
The corresponding aidl file is
user.aidl
package com.example.lqm; // This is user. aidl package
parcelable User;
Read More:
- Aidl communication and problems encountered
- Problems encountered by Android Studio: Session’app’: Error Installing APKs
- Common problems of Aidl cross process communication
- Summary of problems encountered by CodeBlocks + OpenGL
- Problems in learning Aidl
- Aidl learning
- Webpack encountered a variety of problems to solve
- Handling nullreference exception problems encountered in NHibernate
- Error executing Aidl: return code 1
- Solutions to problems encountered when installing isc-dhcp-server on debian9.6
- Gms2 (gamemaker Studio 2) running problems encountered in the project
- Problems encountered in the installation of pyromacoustics
- Problems encountered in VS2010 compilation
- Problems encountered in running OpenGL
- Problems encountered in PCL configuration environment
- Some problems encountered in the development of ReportViewer
- Small problems encountered in compiling OpenGL under VS2010
- Record the problems encountered in OpenGL learning
- Problems encountered in VTK installation
- Record of problems encountered in using vs2017