Question: I'm developing an Android app with the Android Developer Tool.
Now I tried the new Android Studio, everything works fine if connect my smartphone with the PC and directly run the program in the Android Studio.
But now I want to test the program with other smartphones without connecting them to my PC.

The ADT creates the .apk file under "projectname/bin" every time you compile the program. How I see it at the moment, Android Studio doesn't do that.

So, my question is: Is it possible to create an unsigned .apk file with Android Studio?

Answer: 
In Android Studio:

1. Build
2. Build APK(s)
3. Wait and go to the location shown in a pop-up window. On right bottom side

[![enter image description here](https://i.stack.imgur.com/Nw5RR.png)](https://i.stack.imgur.com/Nw5RR.png)
**For unsigned APK:** Simply set signingConfig null. It will give you appName-debug-unsigned.apk

```
debug {
     signingConfig null
}

```

And build from Build menu. Enjoy

**For signed APK:** 

```
signingConfigs {
        def keyProps = new Properties()
        keyProps.load(rootProject.file('keystore.properties').newDataInputStream())
        internal {
            storeFile file(keyProps.getProperty('CERTIFICATE_PATH'))
            storePassword keyProps.getProperty('STORE_PASSWORD')
            keyAlias keyProps.getProperty('KEY_ALIAS')
            keyPassword keyProps.getProperty('KEY_PASSWORD')
        }
    }
    buildTypes {
        debug {
            signingConfig signingConfigs.internal
            minifyEnabled false
        }
        release {
            signingConfig signingConfigs.internal
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

```

keystore.properties file

```
CERTIFICATE_PATH=./../keystore.jks
STORE_PASSWORD=password
KEY_PASSWORD=password
KEY_ALIAS=key0

```