无法从Google Play商店

时间:2017-04-03 16:12:36

标签: android google-play

我创建一个名为“onlineContact”的应用程序,可以将您的联系人保存在云中,您可以使用登录从任何Android手机访问您的联系人。这个应用程序在我测试时工作正常。我将我的手机与电脑连接起来并从android studio运行它很好。所以,我在Google Play商店上传这个应用程序,但是当我从Play商店下载并安装应用程序时,它无效。这有什么问题。

以下是Play商店onlineContact上的应用链接 安装它点击任何链接,如登录,创建帐户或忘记密码 当你点击它们中的任何一个时它都会崩溃。

我从android studio再次尝试并安装它,它工作正常。现在我该如何检查这个问题。我无法在此处放置我的应用的所有代码。请帮我解决这个问题。

更新

Bulid.gradil(Modual:应用)

apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "25.0.2"
defaultConfig {
    applicationId "com.azeem.onlinecontact"
    minSdkVersion 11
    targetSdkVersion 24
    versionCode 3
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',        {
    exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-ads:10.0.1'
}

LoginActivity

公共类LoginActivity扩展了AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_login);
}

protected void login(View view){
    EditText etxtPhoneNumber = (EditText) findViewById(R.id.etxtPhoneNumber);
    EditText etxtPassword = (EditText) findViewById(R.id.etxtPassword);
    String phoneNumber = etxtPhoneNumber.getText().toString();
    String password = etxtPassword.getText().toString();
    String action = "login";

    BackgroundWorker backgroundWorker = new BackgroundWorker(this);
    backgroundWorker.execute(action, phoneNumber, password);
}


protected void forgetPassActivity(View view){
    startActivity(new Intent(this, ForgetPassword.class));
}

protected void createAccount(View view){
    Intent loginIntent = new Intent(this, CreateAccount.class);
    startActivity(loginIntent);
}

@Override
public void onBackPressed() {
    moveTaskToBack(true);
}

}

当我运行应用程序时,此活动打开正常但是当我点击任何按钮时它将无法继续运行。

0 个答案:

没有答案
相关问题