> For the complete documentation index, see [llms.txt](https://onestore-dev.gitbook.io/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onestore-dev.gitbook.io/dev/eng/tools/alc/upgrading-from-unity-to-alc-sdk-v2.md).

# Upgrading from Unity to ALC SDK v2

### Update library files for V1 → V2 conversion <a href="#upgradingfromunitytoalcsdkv2-updatelibraryfilesforv1-v2conversion" id="upgradingfromunitytoalcsdkv2-updatelibraryfilesforv1-v2conversion"></a>

#### Delete the library files used in V1. <a href="#upgradingfromunitytoalcsdkv2-deletethelibraryfilesusedinv1." id="upgradingfromunitytoalcsdkv2-deletethelibraryfilesusedinv1."></a>

| Assets > Plugins > Android | <ul><li>sdk-alc-v1.0.0.aar</li><li>alc-android-library-v1.0.0.aar</li></ul> |
| -------------------------- | --------------------------------------------------------------------------- |
| Assets > StreamingAssets   | <ul><li>global-appstores.json</li></ul>                                     |

#### Add the necessary libraries to use V2. <a href="#upgradingfromunitytoalcsdkv2-addthenecessarylibrariestousev2." id="upgradingfromunitytoalcsdkv2-addthenecessarylibrariestousev2."></a>

| Assets > Plugins > Android | <ul><li>sdk-alc-v2.0.0.aar</li><li>sdk-auth-v1.0.2.aar</li><li>sdk-base-v1.0.3.aar</li><li>sdk-configuration-v1.0.0.aar</li><li>alc\_adapter-v1.1.0.aar</li></ul> |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |

#### In Unity, go to Project Settings > Publishing Settings and add the Custom Build environment <a href="#upgradingfromunitytoalcsdkv2-inunity-gotoprojectsettings-greater-than-publishingsettingsandaddthecus" id="upgradingfromunitytoalcsdkv2-inunity-gotoprojectsettings-greater-than-publishingsettingsandaddthecus"></a>

In order to login, update and install modules, the following must be added.

Items that must be added

* Custom Main Manifest
* Custom Main Gradle Template
* Custom Launcher Gradle Template

<figure><img src="/files/jzGtt5wbaKeQx61UPrDY" alt=""><figcaption></figcaption></figure>

#### Add \<queries> in AndroidManifest.xml <a href="#upgradingfromunitytoalcsdkv2-add-less-than-queries-greater-than-inandroidmanifest.xml" id="upgradingfromunitytoalcsdkv2-add-less-than-queries-greater-than-inandroidmanifest.xml"></a>

Please refer to the ONE store notices for setting up the following two cases:

* [For Target SDK version set to 30 (OS11) or higher](https://dev.onestore.co.kr/devpoc/support/news/noticeView.omp?pageNo=4\&noticeId=32968\&viewPageNo=\&searchValue=)
* [For Target SDK version set to 31 (OS12) or higher](https://dev.onestore.co.kr/devpoc/support/news/noticeView.omp?pageNo=1\&noticeId=33072\&viewPageNo=\&searchValue=)

Assets > Plugins > Android > AndroidManifest.xml

The queries must be added as follows.
