• Stars
    star
    125
  • Rank 284,993 (Top 6 %)
  • Language
    Java
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

中文

Cocos-BCX Android Wallet Compiling and Running Guide

1. Compiler selection and environment building

Download and install Android Studio 3.0 +
Download JDK 1.7+
Jdk environment variable configuration:windowmac
Android Studio finds and uses the installed jdk by searching the JAVA_HOME variable.
Configure SDK, JDK path in Android Studio

2. Compille

1.64K problem:

build.gradle

... dependencies { ...

implementation 'com.android.support:multidex:1.0.3' //add } ... android {

defaultConfig { ...

multiDexEnabled true //add

} }

ref url

https://stackoverflow.com/questions/48249633/errorcannot-fit-requested-classes-in-a-single-dex-file-try-supplying-a-main-dex .

2.http limit

Android P (version 27) limits the http network requests. However, http request is used in the SDK. if your application is target Android 9 (API level 28) or higher, you can modify AndroidManifest.xml like below:

AndroidManifest.xml :

<manifest ...> <application ... android:usesCleartextTraffic="true" //add ...>

ref url

https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted

3.relase 编译问题 编译可能会出现没有配置Relaese_key 的错误提示,去app模块的build.gradle下注释release 配置即可。

3. After the compilation is complete, user can run the project to the virtual machine or mobile phone;

Any problem about compilation can be raised in the issues for a timely response.

Note: The cocos-sdk module source code in the project can also be compiled and run following above steps.

More Repositories

1

cocos-bcx-node-bin

Shell
2,409
star
2

ERC-1808

JavaScript
1,472
star
3

cocos-mainnet

Cocos-BCX: The platform for the next generation of digital game economy
C++
1,297
star
4

JSSDK-Demo

JSSDK Demo
HTML
1,183
star
5

JSSDK

JavaScript
763
star
6

1808

Lua
625
star
7

CocosPayDesktop

A Desktop Application for Cocos-BCX
JavaScript
97
star
8

Python-Middleware

Cocos-BCX python middleware
Python
94
star
9

CocosPay

A browser extension for Cocos-BCX.
Vue
92
star
10

vscode-cocos-bcx

Cocos-BCX for VS Code
TypeScript
86
star
11

explorer

Cocos-BCX Block Explorer
Vue
66
star
12

VoteCocosBCX

Vue
62
star
13

Cocos-BCX-website

Official website
CSS
62
star
14

bcx-sdk-creator

JavaScript
60
star
15

AndroidSdk

Java
53
star
16

explorer-backend

Cocos-BCX Block Explorer Backend
JavaScript
53
star
17

iOSSDK

Objective-C
52
star
18

Document

Cocos-BCX document.
52
star
19

Cocos-BCXContract

Solidity
50
star
20

cocosjs-core

Cocos-BCX core sdk for dapp
JavaScript
43
star
21

CocosPay-360

JavaScript
42
star
22

cocos-dice-sample

Dice game, Classic dice with fast random.
Vue
42
star
23

UnitySDK

C#
37
star
24

Contracts-Sample

Cocos-BCX contract sample
Lua
36
star
25

scripts

Cocos-BCX scripts.
Python
33
star
26

EOS-1808

C++
30
star
27

GasMortgage

Vue
30
star
28

cocos-shooting-game

game
JavaScript
30
star
29

wetank

tank game
JavaScript
27
star
30

CocosFactory

Python-based cocos smart-contract development & testing framework
Python
25
star
31

smart-contract-practice

cocos-bcx smart contract practice
Lua
21
star
32

Docker

Cocos-BCX Docker
21
star
33

NH1808-Website

Vue
20
star
34

bcxLibrary-Cpp

Cocos-BCX CPP Library
C++
19
star
35

faucet

faucet
Python
19
star
36

wallet_Invoker

DApp SDK
Java
16
star
37

CocosToken

ERC20 token for Cocos-BCX
JavaScript
15
star
38

data_analysis

block chain data analysis
Python
14
star
39

Python-Middleware-sample

Python Middleware example
Python
13
star
40

NodeJSSDK

JavaScript
12
star
41

CocosGoSDKTool

Go
12
star
42

star-project

JavaScript
11
star
43

Go-SDK

Go
8
star
44

CocosPay-firefox

JavaScript
7
star
45

web3service-Example

TypeScript
1
star