Remember to make a more silent mistake, the other day I packed an apk in an emergency, encountered an exception:Android Library projetcts cannot be exported. The exception prompt is as follows:
I think the project depends on the library has a problem, and then went to check the main project depends on the various libraries, found that the library project is not a problem, and then I went to search for this exception information, the results of the search is "Android Library projects Cannot be launched. " This exception I am more familiar with, want to run the library project will be reported this exception, the exception prompt translated into Chinese is: Androi Library project is unable to run. As follows:
Just look at the abnormal text hint when I did not notice the two abnormal relationship, and later saw, just suddenly found himself made a very silent mistake, the library project as the main project!!! I have been exporting the APK for the Library project, which of course cannot be successful.
The final solution is to find the main project and then the APK package everywhere.
Android Library projetcts cannot be exported.