Skip to main content

Posts

Showing posts from 2020

MIGRATING TO ANDROIDX

  MIGRATING TO ANDROIDX In android studio:      Click on Refactor -> Migrate to AndroidX In xml:  Replace with below: android.support.design.widget.AppBarLayout -> com.google.android.material.appbar.AppBarLayout android.support.v7.widget.Toolbar -> androidx.appcompat.widget.Toolbar android.support.design.widget.TextInputLayout -> com.google.android.material.textfield.TextInputLayout android.support.v7.widget.RecyclerView -> androidx.recyclerview.widget.RecyclerView androidx.core.widget.DrawerLayout -> androidx.drawerlayout.widget.DrawerLayout android.support.design.widget.NavigationView -> com.google.android.material.navigation.NavigationView In Java: Remove all the unused dependency then press ALT+ENTER for the Error Part and choose the library of androidx. As, now many classes has been moved to androidx.

How to Solve error: Microsoft Visual C++ 14.0 is required. while installing modules in python.

The Link in the error seems to be outdated. Try with the below link: https://visualstudio.microsoft.com/visual-cpp-build-tools/ Step 1: It will install file and Visual studio will run and install 70 MB approx. Step 2: The visual studio build tools will appear. Click on resume/Install. Step 3: It will download and install 1.16 GB approx data. Wait for it to install. Step 4: It will ask you for a reboot. So, go ahead and do it. Step 5: Run your command again by which you were getting error. It should work. For me it was coming while installing pyaudio: So, my command will be :  python -m pip install pyaudio  while doing so I was getting one more error :  src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory So, for this error I tried below commands: (Run as administrator if it didn't work.) pip install pipwin pipwin install pyaudio Hope we were able to resolve the issue 😉 .

Isro paper 2020 computer science

Isro paper 2020 computer science Isro question paper, isro 2020, isro syllabus, Isro sc, isro cs, isro cse, isro computer science

AI series #1 | Make your own google translator using python |No API | No...