Getting started with Hello World app - English
- subtitles off
- captions off
- English
- Questions posted on Forums
- Android app using Kotlin Tutorials - English
-
Access Denied Error When Using Gradle in Android Studio
Dear Tutors,I hope this message finds you well. We are writing to address a critical issue that has been affecting our software development course. Some of our students have reported encountering an "Access Denied" error when working with the software that utilizes the Gradle build system.Error Message:"C:\Program Files\Android\gradle-8.2.1-all\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4-all.zip.lck (Access is denied)"As you are aware,Android studio plays a vital role in our course, and this issue is causing disruptions. We understand the urgency of resolving this problem to ensure a smooth learning experience for our students.We understand that dealing with technical challenges is part of the learning process. By offering your expertise and support, we can overcome this issue and continue the course journey successfully.Please feel free to reach out.if you encounter any other relevant solutions or face challenges in addressing this problem.Thank you for your immediate attention to this matter.Best regards,Amith Sagar MathewBCA batch 1contact information:student:amithsagarmathew@gmail.com
04-05M 20-30S amithsagarmathew@gmail.com
Answer last updated on: Aug. 1, 2023, 12:30 p.m.
-
Problem in Finding ID in Attributes section
Professor, I have cleared my earlier problem and succeeded in installing Hello World App but at 11:31 minutes you told us to write some name in ID section of Attributes section but I am unable to find it at all. I am stuck in this problem from last two days and couldn't resolve it even with the internet solutions. Also I urge you to install Android Studio Chipmunk in Your Lab's Computer to help us to resolve the problems we are facing. Yes I know the lectures are made based on a one step earlier version of Android Studio. The solutions you will give will not much differ but with Installing Android Studio Chipmunk You will actually feel what the problems students are or may face(ing), it will not cost you more in Your labs to install that app from the same official website you have suggested in the tutorial.Please help me out. https://photos.app.goo.gl/MXZNimAnK1eSaYkw7https://drive.google.com/file/d/1e6eGebass_lOG4-U1A_hGMBtnjDM3wPy/view?usp=drivesdkhttps://photos.app.goo.gl/GSjvJ137CzCzmLzMA
11-12M 30-40S sc256356
Answer last updated on: May 10, 2023, 4:46 p.m.
-
Please resolve this
Professor,Please resolve the following. I can't move even a step forward to learn because of this problem.https://drive.google.com/file/d/1cr9Lb-oNYh2fuE_vzwPBOR3sNqfra1p3/view?usp=drivesdk
05-06M 30-40S sc256356
Answer last updated on: May 8, 2023, 10:10 a.m.
-
The id of TextView is unrecognizable
When I build the project earlier it showed an error that SDK version 33 must be selected. I did the changes in the gradle file and gave to compileSDK and targetSDK as the version is installed. After this change build is successful but the warning comes -We recommend to used newer Android Gradle version as the current version 7.2.1 was tested only upto SDK 32.Also the ID property is not accessible in the MainActivity.kt file. So I am unable to change the Text value of the TextView. Kindly guide as I am unable to move ahead.
11-12M 40-50S WNeha
Answer last updated on: May 8, 2023, 10:06 a.m.
-
Please resolve this. What's the problem here
https://drive.google.com/drive/folders/1bfoyJk5NVXFTgIoJpkGWntqrLvNgsG5p
10-11M 30-40S sc256356
Answer last updated on: May 4, 2023, 6:13 p.m.
-
Why the following error occured
Madam/Sir,Why the following error occurred in my Kotlin program whereas I did the same as you did in the tutorial.https://drive.google.com/file/d/148RNCJ0KZ-I12gJ4McO8zHeDsASPsKfK/view?usp=sharinghttps://drive.google.com/file/d/1QfgviPy2HsbRGSrt1g4-Ruh0J-lpUa_O/view?usp=sharing
10-11M 20-30S sc256356
Answer last updated on: July 7, 2022, 4:07 p.m.
-
Why this error message came while running the app..
Why this error message came while running the app..Upto 10th minute allow USB debuggung option it worked ok but afterwards the option of Install via USB haven't came in my phone and also my Phone is of Andriod 11 where I enabled USB Debugging option but I haven't found this Install via USB option in Developers Options menu in settings app. so I haven't enabled it because it wasn't present there instead Verify apps. over USB was present there which was by default enabled when I enabled USB Debugging option. Please go through this following link also.https://drive.google.com/file/d/1HJX2fMt9lEVQzlarA6i5OHuQKEwr_Tpm/view?usp=sharing
10-11M 10-20S sc256356
Answer last updated on: July 4, 2022, 5:29 p.m.
-
Not able to change text by giving ID
I have given ID to text box as myFirstText and when i try to type this ID in my MainActivity.xml it shows error as shown in image attached below.
11-12M 0-10S pranavgupta72
Answer last updated on: April 4, 2022, 12:33 p.m.
-
error
Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.Open FileShow DetailsUnable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.Open FileShow DetailsUnable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.Open FileShow DetailsUnable to resolve dependency for ':app@release/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.Open FileShow DetailsUnable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.Open FileShow Details
03-04M 40-50S debgaurav070501@gmail.com
Answer last updated on: Nov. 12, 2021, 3:09 p.m.
-
Render Problem
I am getting render problem so no text field is displayed. How to resolve it?
06-07M 20-30S Parvee
Answer last updated on: Nov. 3, 2021, 1:31 p.m.
-
Error
Followed steps as per in the video.04:43 errorGradle sync failed.
03-04M 40-50S krishnoog
Answer last updated on: July 22, 2021, 6:36 a.m.
-
Getting errors in hello world app program even processed Invalidate Caches/ Restart Menu.
Gradle sync startedProject setup startedGradle sync failed (4s 939ms)Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:30.+.Redownload twice to check all connectivity
04-05M 50-60S anshu261293@gmail.com
Answer last updated on: July 22, 2021, 6:23 a.m.
-
error in the hello world app program
it is showing some error as [Could not download gradle-core.jar (com.android.tools.build:gradle-core:3.1.3): No cached version available for offline mode Consult IDE log for more details (Help | Show Log) (578ms)] please let me know how to overcome this issue. i even did the invalidate cache / refresh but even then its showing the same kindly help me with this
03-04M 20-30S sravss
Answer last updated on: July 22, 2021, 6:12 a.m.
-
Sync failed error
failed Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-76It says sync failed. what to do?
13-14M 40-50S srgmsbhaskar
Answer last updated on: July 22, 2021, 6:07 a.m.
-
Installing Hello World app using USB cable
I had connected my mobile phone to my laptop using USB cable to install hello world app . I had also enabled USB debuugging in my mobile phone but the Android app showing that no targeted device is found what can I do in this situation ?
09-10M 30-40S Mirduvarshini
Answer last updated on: July 22, 2021, 6:02 a.m.
-
Changing the text
I had connected my phone and installed the hello world app .Now I had problem in changing the text "Hello World " into "Welcome to spoken tutorial" ,while enter the code "myFirstTextview" . I had no vision of box that showing the text option but I had the box that showing set of ,array of..... options. what can I do now ? can I select any other option instead of selecting 'text' option?
11-12M 40-50S Mirduvarshini
Answer last updated on: July 22, 2021, 5:59 a.m.
-
Why the Next button on create new activity dialog box is appearing deactivated?
Why the Next button on create new activity dialog box is appearing deactivated?
12-13M 10-20S cpsgagan@gmail.com
Answer last updated on: June 16, 2021, 2:36 p.m.
-
We are not getting as shown in video
We are seeing lot of error in the app and we do not get the same interface as shown in the video.We get sync error and we cannot move further .... Showing basic function like debugging and compling cannot work properly...
03-04M 20-30S roobanrooban321@gmail.com
Answer last updated on: June 2, 2021, 1:23 p.m.
-
Error while using text!
Here while using myFirstTextView.text here text option is not showing and further there is an error after running the program.
12-13M 0-10S satrishabh
Answer last updated on: May 25, 2021, 6:15 p.m.
-
Getting errors in hello world app program
I'm getting errors without typing anything It's showing hello world app sync failedUnable to resolve dependency for ':app@debug/complieClasspath': could not find any version that matches com.andriod.support:appcompat-v7:30.+.
05-06M 10-20S satya7599
Answer last updated on: July 8, 2020, 11:02 p.m.
-
AVD and"Make Project" or try to make "apk" error
When I tried to run AVD or click on"Make Project" or try to make "apk", the following error shows:Executing tasks: [:app:assembleDebug] in project C:\Users\SONAM\AndroidStudioProjects\MyApp> Task :app:preBuild UP-TO-DATE> Task :app:preDebugBuild UP-TO-DATE> Task :app:compileDebugAidl NO-SOURCE> Task :app:generateDebugBuildConfig UP-TO-DATE> Task :app:javaPreCompileDebug UP-TO-DATE> Task :app:compileDebugRenderscript NO-SOURCE> Task :app:mainApkListPersistenceDebug UP-TO-DATE> Task :app:generateDebugResValues UP-TO-DATE> Task :app:generateDebugResources UP-TO-DATE> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE> Task :app:extractDeepLinksDebug UP-TO-DATE> Task :app:processDebugManifest> Task :app:mergeDebugResources FAILEDFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:mergeDebugResources'.> Multiple task action failures occurred: > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #4: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #3: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #5: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #6: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #7: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #8: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #9: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-3.6.3-6040484-windows Daemon #10: Daemon startup failed Please check if you installed the Windows Universal C Runtime. This should not happen under normal circumstances, please file an issue if it does.* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 5s8 actionable tasks: 2 executed, 6 up-to-dateI already try to update Windows Universal C Runtime but my system does not accept it with error message "this update is not applicable to your computer"I tried with all these options also but not clear any error. "Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights"
13-14M 50-60S Rishabh15
Answer last updated on: May 20, 2020, 5:07 p.m.
-
How to create AVD
Process for adding virtual mobile device
09-10M 10-20S pucckps
Answer last updated on: Jan. 28, 2020, 4:58 p.m.
Questions posted on ST Forums:
13791 visits
Outline:
Launch the Android studio Create a new Android Studio project Steps for creating a new Application How to create a new activity? Explore the Android Studio interface Steps to enable USB debugging on Android Phone Run the default Hello world App Change the position of the default TextView Change the default text property during run time Run the App to see the output in an Android phone
Width: | 1168 | Height: | 640 |
---|---|---|---|
Duration: | 00:13:43 | Size: | 6.5 MB |
Show video info