Comments (10)
You don't have the appropriate plugins installed. Please use the following gradle code that works.
apply plugin: 'com.android.library'
version = "0.0.5"
ext {
bintrayRepo = 'maven'
bintrayName = 'ParticleTextView'
publishedGroupId = 'com.yasic.library'
libraryName = 'ParticleTextView'
artifact = 'particleTextView'
libraryDescription = ''
siteUrl = 'https://github.com/Yasic/ParticleTextView'
gitUrl = 'https://github.com/Yasic/ParticleTextView.git'
libraryVersion = '0.0.4'
developerId = 'yasic'
developerName = 'yasic'
developerEmail = '[email protected]'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
resourcePrefix "yasic__"
defaultConfig {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'io.reactivex:rxandroid:1.1.0'
}
If you are planning on submitting a PR, do not commit this custom Build file. The author of this repo uses it to upload the library to Maven. Instead, take a look at what I have done with PR #4 and proceed that way. Hope this helps!
from particletextview.
What exactly is missing that I need to download?
Why the need to change gradle? Why not put it on the repo?
Also, after putting the above text in gradle file, I still have a build error:
Error:resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found
Error:failed linking references
Error:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
Error:com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
Error:Execution failed for task ':app:processDebugResources'.
Failed to execute aapt
from particletextview.
Most of the code in the Gradle file is for uploading the library to Maven. The author needs that code as part of the library.
What version of Build tools are you using?
from particletextview.
It says I have 26.0.0 rc2 , and many before.
from particletextview.
Try 25.0.2 to see if that works. Also, make sure to change the build tools and SDK version in the sample app folder as well. If all else fails, try downloading my fork. It has quite a few enhancements!
from particletextview.
@searchy2 Hi. I am sorry that I was working on another project recently so that I didn't see the notification. I have merged your pr just now and I am reviewing the code.
from particletextview.
@AndroidDeveloperLB I have update the build.gradle file and I think it should be work now. Please try it again.
from particletextview.
@Yasic Great library, thanks for the merge! There's still work to be done however. If the code looks good and passes your tests, it will need to be copied over to the Particle Surfaces class.
from particletextview.
@Yasic I've cloned the project .
Now it works, but the "Sureface View Demo" is quite slow, espeically when trying to exit it.
from particletextview.
@Yasic I've cloned the project .
Now it works, but the "Sureface View Demo" is quite slow, espeically when trying to exit it.
The improvements made to the Particle View have not been added to the Particle Surface yet. Currently, I am not too sure what the Particle Surface is for? Maybe @Yasic can explain the use scenarios.
from particletextview.
Related Issues (12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from particletextview.