motianhuo / wechat

A High Copy WeChat ,SNS APP (高仿微信)
5.38k stars 2.42k forks source link

实在是太老了,编译不过了 #49

Open Hujunjob opened 6 years ago

Hujunjob commented 6 years ago

as3.0以上各种报错,弄了半天,都没编译成功

vowor commented 6 years ago

我3.1.2版本的都编译成功了

monotonewang commented 5 years ago

可以编译 project--build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { // classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.android.tools.build:gradle:2.3.2' } }

allprojects { repositories { jcenter() } } gradle-wrapper.properties

Wed Mar 13 17:58:50 CST 2019

distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

app-build.gradle apply plugin: 'com.android.application'

android { compileSdkVersion 17 buildToolsVersion '25.0.0'

defaultConfig {
    applicationId "com.juns.wechat"
    minSdkVersion 11
    targetSdkVersion 21
    ndk {

// abiFilters "armeabi", "armeabi-v7a", "x86", "x86_64" abiFilters "armeabi-v7a" //alter by monotonewang 2018-8-23 } }

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

}

dependencies { compile 'com.android.support:appcompat-v7:18.0.0' compile 'com.android.support:support-v4:18.0.0' compile files('libs/JsonUtils.jar') compile files('libs/JunsNetHelper.jar') compile files('libs/afinal-0.3.32-bin.jar') compile files('libs/baidumapapi_v3_2_0.jar') compile files('libs/easemobchat_2.1.5.jar') compile files('libs/httpmime-4.1.3.jar') compile files('libs/locSDK_3.3.jar') compile files('libs/pinyin4j-2.5.0.jar') compile files('libs/pushservice-4.4.0.71.jar') compile files('libs/umeng-analytics-v5.2.4.jar') compile files('libs/universal-image-loader-1.8.7-snapshot-with-sources.jar') compile files('libs/zxing-1.6.jar') }

ndk /Users/monotonewang/Documents/android-ndk-r16b