# General Faq

#### 1. Cant get home data? <a href="#id-1.-cant-get-home-data" id="id-1.-cant-get-home-data"></a>

Check your domain link and secret key in the app code. also test all apis in postman.

#### 2. Sign in with mobile number is available? <a href="#id-2.-sign-in-with-mobile-number-is-available" id="id-2.-sign-in-with-mobile-number-is-available"></a>

No, currently sign in with mobile number is not available.

#### 3. **Getting NDK version error while running the app.** <a href="#id-3.-getting-ndk-version-error-while-running-the-app" id="id-3.-getting-ndk-version-error-while-running-the-app"></a>

Go to project directory -> android -> app -> build.gradle

Add NDk version in build.gradle file with the **Versions available locally**

#### **4. How to Enable / Disable screen recording in app?** <a href="#id-4.-how-to-enable-disable-screen-recording-in-app" id="id-4.-how-to-enable-disable-screen-recording-in-app"></a>

Go to **project directory -> android -> app -> src -> main -> kotlin -> com -> mediacity -> eclass -> MainActivity.kt**

comment this line to enable screen recording

#### **5. Getting error while creating jks file 'keytool' is not recognized as an internal or external command.** <a href="#id-5.-getting-error-while-creating-jks-file-keytool-is-not-recognized-as-an-internal-or-external-com" id="id-5.-getting-error-while-creating-jks-file-keytool-is-not-recognized-as-an-internal-or-external-com"></a>

To solve this error watch the below given video link

#### **6. How to solve gradle version issue?** <a href="#id-6.-how-to-solve-gradle-version-issue" id="id-6.-how-to-solve-gradle-version-issue"></a>

A Gradle version issue can occur when the version of Gradle that your project is using is incompatible with the version of Gradle that is installed on your system. This can happen if you are using a different version of Gradle than what your project was created with or if you have multiple versions of Gradle installed on your system.

1. Run the command in the terminal

* **cd android**
* **gradlew --version**

2\. Check your gradle version and replace it in the app code at the path

* **project directory -> android -> gradle-> wrapper-> gradle-wrapper.properties**

#### 7. APK size of App is too large, how to reduce apk size? <a href="#id-7.-apk-size-of-app-is-too-large-how-to-reduce-apk-size" id="id-7.-apk-size-of-app-is-too-large-how-to-reduce-apk-size"></a>

When you upload the app bundle to play console ,the apk size automatically reduced to 40-50MB

To generate app bundle ,

Go to project's terminal ,run the command

* flutter clean
* flutter build appbundle

#### 8. Some Courses not shown in app <a href="#id-8.-some-courses-not-shown-in-app" id="id-8.-some-courses-not-shown-in-app"></a>

Please check course not private from admin side.
