Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

进入Main 界面就直接退出 #1

Open
Jack-Xiao opened this issue Apr 22, 2015 · 6 comments
Open

进入Main 界面就直接退出 #1

Jack-Xiao opened this issue Apr 22, 2015 · 6 comments

Comments

@Jack-Xiao
Copy link

如题
1.修改SplashActivity
case GO_HOME:
goHome();
发现进入Main 中直接闪退。

@Jack-Xiao
Copy link
Author

用的工具是android studio: 修改了sdk 21进行编译。
apply plugin: 'com.android.application'

android {
compileSdkVersion 21
buildToolsVersion "21.0.1"

defaultConfig {
    applicationId "com.dreateam.app.ui"
    minSdkVersion 16
    targetSdkVersion 21
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
}

}

dependencies {
compile 'com.android.support:support-v4:21.0.0'
compile files('libs/httpmime-4.1.3.jar')
compile files('libs/SocialSDK_QQZone_1.jar')
compile files('libs/SocialSDK_QQZone_2.jar')
compile files('libs/SocialSDK_tencentWB_1.jar')
compile files('libs/SocialSDK_tencentWB_2.jar')
compile files('libs/SocialSDK_WeiXin.jar')
compile files('libs/SpeechApi.jar')
compile files('libs/umeng-sdk-update_v2.4.1.jar')
compile files('libs/umeng_social_sdk.jar')
compile project(':PullToRefresh')
}

@matrixcloud
Copy link
Owner

androidstudio用起来,体验如何:)

@Jack-Xiao
Copy link
Author

android studio 现在已是 1.2版本。使用起来非常棒。
已经把你的项目稍做到可以运行。fork到了:https://github.com/Jack-Xiao/SimpleReader-second
但是运行到Main界面时直接退出,看不出是什么原因。

@matrixcloud
Copy link
Owner

嗯嗯,不知道你的测试手机是?如果是模拟器的话,可能会出现閃退问题,之前用Genymotion就会閃退。

@Jack-Xiao
Copy link
Author

果然换用真机就可以了。很感谢你的分享,很强大。
唯一感觉相比商用app 缺陷的地方,可能就是图片的加载比较慢。其他的都很不错。

@matrixcloud
Copy link
Owner

多谢夸奖:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants