Gjermund Bjaanes
Aug 24, 2017 · 1 min read

If anyone is having trouble importing your Unity activity into the main project, it might be because the class files are not exported to the AAR file during build.

Luckily, there is an easy fix, add the following line to your proguard-rules.pro file:

-keep public class my.package.** { public *;}

Change my.package with whatever your class package is.

Source: https://stackoverflow.com/questions/28286115/class-not-included-in-the-aar

)

    Gjermund Bjaanes

    Written by

    Crazy about Innovation! Work with Innovation through Ideation and Engineering. New tech: VR/AR/MR, IoT, Blockchain, Human-Computer Interaction, +++