androidManifest
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.pw.happyfruit" android:installLocation="auto" android:versionCode="8" android:versionName="1.0.4" > <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="20" /> <uses-feature android:glEsVersion="0x00020000" /> <application android:icon="@drawable/icon" android:label="@string/app_name" android:allowBackup="true" android:launchMode="singleTask" > <meta-data android:name="android.app.lib_name" android:value="cocos2dcpp" /> <activity android:name="com.pw.platform.sdk.LoginActivity" android:screenOrientation="portrait" android:theme="@style/HalfFransparent" android:launchMode="singleTop" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.facebook.FacebookActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.facebook.LoginActivity" android:label="@string/facebook_app_name" android:launchMode="singleTop" /> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/app_id" /> <activity android:name="com.pw.platform.sdk.share.FacebookShareActivity" android:launchMode="singleTop" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/app_id" /> <meta-data android:name="com.facebook.sdk.ApplicationName" android:value="@string/facebook_app_name" /> <provider android:name="com.facebook.FacebookContentProvider" android:authorities="com.facebook.app.FacebookContentProvider1588477081478931" android:exported="true" /> <receiver android:name="com.pw.platform.sdk.share.SdkFacebookBroadcastReceiver" > <intent-filter> <action android:name="com.facebook.platform.AppCallResultBroadcast" /> intent-filter> receiver> <activity android:name="com.pw.platform.sdk.SplashScreenActivity" android:theme="@android:style/Theme.NoTitleBar" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER" /> intent-filter> <meta-data android:name="main_activity" android:value="org.cocos2dx.cpp.AppActivity" /> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="com.pw.happyfruit" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.RankingListActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.BindPhoneNumberActivity" android:screenOrientation="portrait" android:theme="@style/HalfFransparent" android:launchMode="singleTop" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="org.cocos2dx.cpp.AppActivity" android:configChanges="orientation" android:label="@string/app_name" android:screenOrientation="portrait" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" > activity> <activity android:name="com.pw.platform.sdk.demo.MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.RegisterActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.ChangePasswordActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.ForgetPasswordActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.SMSPaymentActivity" android:theme="@style/HalfFransparent" android:screenOrientation="portrait" android:launchMode="singleTop" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.PaypalPaymentActivity" android:theme="@style/HalfFransparent" android:launchMode="singleTop" android:screenOrientation="portrait" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.pw.platform.sdk.ChoosePaymenTypeActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> intent-filter> activity> <activity android:name="com.paypal.android.sdk.payments.PaymentActivity" /> <activity android:name="com.paypal.android.sdk.payments.PaymentMethodActivity" /> <activity android:name="com.paypal.android.sdk.payments.PaymentConfirmActivity" /> <activity android:name="io.card.payment.CardIOActivity" android:configChanges="keyboardHidden|orientation" /> <activity android:name="io.card.payment.DataEntryActivity" /> <activity android:name="com.paypal.android.sdk.payments.LoginActivity" /> <activity android:name="com.paypal.android.sdk.payments.PayPalFuturePaymentActivity" /> <activity android:name="com.paypal.android.sdk.payments.FuturePaymentConsentActivity" /> <activity android:name="com.paypal.android.sdk.payments.FuturePaymentInfoActivity" /> <activity android:name="com.paypal.android.sdk.payments.PayPalProfileSharingActivity" /> <activity android:name="com.paypal.android.sdk.payments.ProfileSharingConsentActivity" /> <service android:name="com.paypal.android.sdk.payments.PayPalService" android:exported="false" /> application> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true" android:anyDensity="true"/> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" > uses-permission> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.READ_SMS" /> <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.WRITE_SMS" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.VIBRATE" /> manifest>