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

実践

まずはAndroidStudio上部にある
BuildBuild App Bundle(s)/APK(s)Build APK(s) を選択しAPKを作成します。

スクリーンショット 2025-06-15 19.22.15.png

次に公式にも書いてあるとおりAndroidStudio上部から
BuildAnalyze APK... で先ほど作成したAPKを選択します。

スクリーンショット 2025-06-15 19.25.09.png

AndroidStudio内にAPKを分析したものが表示されるので、その中のlib フォルダ内を確認します。

lib フォルダ内に.soとつく共有オブジェクトファイルが存在する場合、アプリはネイティブコードを使用しています。存在しない場合はネイティブコードは使用していません。
libhogehoge.soという感じで表示されるので詳細を調べたい場合は、hogehogeの部分を調べてみるといいかもしれません。

参考

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?