먼저 증상을 올려보자면
앱 설치 후 열기 버튼이 활성화 되지 않습니다.
홈화면에 가도 앱 아이콘은 없고,
앱 관리자에서 보면 분명 앱은 설치되어 있습니다.
kakao_string.xml 파일 내용입니다.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string translatable="false" name="kakao_app_key">61adf33763752a8faa457f24b4ca0c78</string>
<string translatable="false" name="kakao_scheme">kakao61adf33763752a8faa457f24b4ca0c78</string>
<string translatable="false" name="kakaolink_host">kakaolink</string>
</resources>
그리고 AndroidManifest.xml 파일 입니다.
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk android:minSdkVersion="9"/>
<uses-feature android:glEsVersion="0x00020000" />
<application
android:label="@string/app_name"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher">
<!-- Tell Cocos2dxActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
android:value="MyGame" />
<!-- Required for Google Play Services -->
<meta-data
android:name="com.google.android.gms.games.APP_ID"
android:value="@string/google_play_game_app_id" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<!-- End here requirement for Google Play Services -->
<activity
android:name="org.cocos2dx.cpp.AppActivity"
android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<!-- landscape = horizontal, portrait = vertical -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:scheme="@string/kakao_scheme"
android:host="@string/kakaolink_host" />
</intent-filter>
</activity>
<meta-data android:name="com.kakao.sdk.AppKey" android:value="@string/kakao_app_key" />
</application>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>
이상한 점이 intent-filter 안에 추가한
data android:scheme="@string/kakao_scheme"
android:host="@string/kakaolink_host"
를 주석 처리하면 열기 버튼이 잘 활성화 됩니다.
어떻게 수정해야될까요?