Minggu, 29 Januari 2023

[SOLVED] unity Failed to update Android SDK package list

 Hassan-Kanso

Hassan-Kanso

Joined:
Jun 10, 2014
Posts:
11
fixed by unchecking all checboxes bellow and check them again
P.S : you find it in unity under Edit -> Preferences -> External Tools
androidsdk.PNG

Minggu, 08 Januari 2023

unity Cannot perform upm operation: Cannot fetch authorization code. User access token is expired or user is not logged in. [Forbidden]

Ttry to re-login


One way:

1. open your project

2. window > Asset store

3. Goto Asset store via unity

4. Go to my assets

5. You will be redirected to re-login via the browser

6. Enter your email and password via the browser

7. After you click sing in, there will be a pop up to open via unity hub.

8. Select open unity hub

9. Done

Sabtu, 07 Januari 2023

Add Android Exported in Unity - Not able to publish on Google Play / android:exported / Android 12

1. Open unity project

2. Edit > Project Settings > Player > Publishing Settings

3. In Publishing Settings, Tick "Custom Main Manifest"

4. Then folder plugins will be show in Assets

5. Goto Assets > Plugins > Android Manifest.xml

6. After

 android:theme="@style/UnityThemeSelector"

Add

android:exported="true"

Then file will be like this

<?xml version="1.0" encoding="utf-8"?>
<!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN-->
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.unity3d.player"
    xmlns:tools="http://schemas.android.com/tools">
    <application>
        <activity android:name="com.unity3d.player.UnityPlayerActivity"
                  android:theme="@style/UnityThemeSelector"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
        </activity>
    </application>
</manifest>

Rabu, 19 Oktober 2022

[SOLVED] Execution failed for task ':app:processDebugResources' in React Native

 Failed Build in React Native

I am using React native CLI, using yarn

Execution failed for task ':app:processDebugResources'

How to solve it:

1. Open your project with Power shell or command prompt

2. Type:

    cd android

3. Type:

    ./gradlew clean

4. Type:

    cd ..

5. Type:

    yarn react-native run-android

6. Done


I wish you solved your error

[SOLVED] unity Failed to update Android SDK package list

  Hassan-Kanso Joined: Jun 10, 2014 Posts: 11 fixed by unchecking all checboxes bellow and check them again P.S : you find it in unity under...