Horje
combine .proto in android studio project Code Example
combine .proto in android studio project
apply plugin: 'com.google.protobuf'1
combine .proto in android studio project
    compile 'com.google.protobuf:protobuf-java:3.1.0'
    compile 'com.google.protobuf:protoc:3.1.0'12
combine .proto in android studio project
sourceSets {
        main {
            java {
                srcDir 'src/main/java'
            }
            proto {
                srcDir 'src/main/proto'
            }
        }
    }12345678910
combine .proto in android studio project
buildscript {    
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
        classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.2' //The version below 0.8 must be 0.8.0
    }
}12345678910




Whatever

Related
Drupal 8 reset update hook drush Code Example Drupal 8 reset update hook drush Code Example
quotes for teacher appreciation Code Example quotes for teacher appreciation Code Example
open cmd here shortcut Code Example open cmd here shortcut Code Example
salt is a lack of which mineral Code Example salt is a lack of which mineral Code Example
capturing-video-from-two-cameras-in-opencv-at-once Code Example capturing-video-from-two-cameras-in-opencv-at-once Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7