0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Android】難読化・圧縮したくないクラス、コードの選択

Posted at

難読化・圧縮に関してはもう少し詳しくなってから機会があれば、記事にしようかと思います。

方法1

proguard-rules.proに難読化・圧縮したくないクラスを記載します。
スクリーンショット 2025-01-26 21.30.10.png

proguard-rules.pro
-keep class com.クラス名.** { *; }

方法2

難読化・圧縮したくないコードの上に@Keepアノテーションを追加

参考・関連

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?