asked    Nicole     2018-10-22       android       102 view        2 Answers

[SOLVED] Migrate project to gradle file??This project does not use Gradle build system.We recommend that you migrate to using Gradle build system

Am not getting gradle file in the Android project as it is unavailable in android studio bt is available in project file folder. I tried a lot to resolve this issue but I failed.

Thanks in Advance

  2 Answers  

        answered    Crystal     2018-10-22      

The project thinks it's still a non-Gradle based project; it's not the presence of the build.gradle file that makes it Gradle-based, but it's how the project was set up in the first place. You'll need to re-import your project to finish the conversion to Gradle.

First, though, it looks like you don't have a settings.gradle file; it looks like you need one. Since you've set up your project as a single-module project, then you can put the file in your project's root directory, next to build.gradle. It should contain this:

import ':'

In the future if you add more modules to your project you may want to convert it to a multi-module directory structure, but you don't need to worry about that now. In any event, now you need to do the re-import in Android Studio:

Close your project Back up your project Delete the .idea folder in the root directory of the project Delete all the .iml files in your project Import your project in Android Studio, and in the dialog that prompts you for a file, choose the build.gradle file. After this, you should be good to go.

        answered    Celeste     2018-10-22      

I have facing an exact same situation in past, I solved this error by following step

First of all I would remove following files/directories from your project-folder:

  • bin/
  • build/
  • .idea/
  • .gradle/
  • projectname.iml

when you open android studio import your project

Your Answer

 2018-10-22         Dana

ASP.Net application switch between login types (ADFS, Username/Password)

We have an web application written in .net 3.5 that we deploy for various clients and that uses a regular Forms login username/password.We have a requirement to make it work with ADFS also. The issue is that we would like to be able to keep both login methods, and have one for some clients, and one for others, so we would like to keep most of it at a config level.Exactly what would be the correct method to achieve this result? You can change it at the config level and choose your preferred localAuthenticationTypes.In Windows Explorer, browse to C:\inetpub\adfs\ls (assumi...                     1 answers                     82 view
 2018-10-22         Sarah

Multiple microsites will login as one

I have multiple microsites:https://www.samplesite.comhttps://subdomain2.samplesite.comhttps://subdomain3.samplesite.comhttps://subdomain4.samplesite.comhttps://subdomain5.samplesite.comOnce I login to one of these, it should also automatically create a logged session for other microsites just like GOOGLE.How can I do this? Any ideas?As I know, session is individually created for each domains and is certainly not readable for other domains. P.S. I am using codeigniter as framework. You should be searching the keyword "Single Sign-On". There are many ways to do it. But ba...
 php                     1 answers                     84 view
 2018-10-22         Daniel

how to make a html login page that connect to database

Lets say I have a login.html page with a html templateAnd I want to use that login.html template to login to another login.php page.Say, when a user types in email and password in login.html, I want that login.html page to type the same email and password in my another website which has login.php page.For this example, lets take blesta - it has a login.php page but the landing page is simple and is not beautiful.I have another html page named login.html which looks sleek and beautiful but I don't want to transfer users to blesta login.php and then they enter their credentia...
 html                     1 answers                     84 view