I will summarize the problems I encountered in learning AIDL today.
q.1 in the created entity class Book is in creating the Book. The aidl is wrong “Interface name must be unique”?
the solution: 1.
method to remove entity class, you first create the Book. The aidl file for creating entity class Book. The method of Java
2. When you have created an.aidl file, change the file name to Book
.
solution: this error is. Aidl document compilation errors, entity class must be serialized, implementing an interface Parceable, in a file. An aidl it needs to be referenced in the introduction file package name, even in the same package must also import
3. Run times wrong collapse Java. Lang. SecurityException: Binder invocation to the an incorrect interface?
the solution: storage is due to two projects. Aidl files do not match the package name, need to be unified, entity class must also be unified.
>
>
>
>
>
>
>
Read More:
- Aidl communication and problems encountered
- Some problems encountered by Android Aidl
- Problems in learning Aidl
- Matters needing attention in the process of using Aidl
- Common mistakes in WCF distributed development (15): Communication with the underlying transaction manager has failed.
- Chrome setting — Disable web security to solve cross domain problems
- Common problems and solutions under Linux
- Linux common problems and Solutions
- Common problems and basic concept knowledge of OpenGL
- Common problems of shadow map in OpenGL
- Some common problems in the use of vs2017
- OpenGL development environment configuration [vs2017] + common problems
- Common problems of Hadoop startup error reporting
- Aidl learning
- Error executing Aidl: return code 1
- Common compatibility problems of VS2010 to vs2017 projects
- Spring boot integrates Mongo to solve some common connection and permission problems. Docker compose installs Mongo
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- Android learning notes 03: some problems and solutions in the learning process