1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Sony Add-on SDK 3.0を最新のSDK Version(22)で使用する(非公式)

Posted at

Sony Add-on SDK 3.0使ってるプロジェクトでLeakCanary使いたかったが、SDK Versionが21以上じゃないと使えなかった。
というわけで、SDK Version 22なSony Add-on SDKを作ってみた。
(他にも、SmallAppで最新のAPIを使用したい場合などにも使えるかも)


とりあえず、自分が使ってる限りでは動いているようですが、不具合がある可能性もありますので、試す方は 自己責任 で。

Android SDKをインストールしたフォルダに移動して、

add-ons/addon-sony_add-on_sdk_3_0-sony-19

フォルダをコピーして、

add-ons/addon-sony_add-on_sdk_3_0-sony-22

にリネームする。


add-ons/addon-sony_add-on_sdk_3_0-sony-22/source.properties

をテキストエディタで開き、

AndroidVersion.ApiLevel=19

の19を22に変更。


add-ons/addon-sony_add-on_sdk_3_0-sony-22/manifest.ini

をテキストエディタで開き、

api=19

の19を22に変更。

Sony Add-on SDKを使用するプロジェクトのbuild.gradle内の

compileSdkVersion "Sony:Sony Add-on SDK 3.0:19"

の19を22に変更。
Let's build!!

1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?