Skip to content

Commit

Permalink
Embedded proguard.txt file to AAR library which should get rid of Cla…
Browse files Browse the repository at this point in the history
…ssNotFoundExceptions automatically
  • Loading branch information
yasirkula committed Apr 12, 2021
1 parent 615d906 commit 66d807d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/AAR Source (Android)/proguard.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-keep class com.yasirkula.unity.* { *; }
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ There are 5 ways to install this plugin:

- **"Receive Logcat Logs In Android" isn't working, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.DebugConsoleLogcatLogger" in Logcat**

If your project uses ProGuard, try adding the following line to ProGuard filters: `-keep class com.yasirkula.unity.* { *; }`
If you are sure that your plugin is up-to-date, then enable **Custom Proguard File** option from *Player Settings* and add the following line to that file: `-keep class com.yasirkula.unity.* { *; }`

## HOW TO

Expand Down
Binary file modified Plugins/IngameDebugConsole/Android/IngameDebugConsole.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.yasirkula.ingamedebugconsole",
"displayName": "In-game Debug Console",
"version": "1.4.7",
"version": "1.4.8",
"documentationUrl": "https://github.com/yasirkula/UnityIngameDebugConsole",
"changelogUrl": "https://github.com/yasirkula/UnityIngameDebugConsole/releases",
"licensesUrl": "https://github.com/yasirkula/UnityIngameDebugConsole/blob/master/LICENSE.txt",
Expand Down

0 comments on commit 66d807d

Please sign in to comment.