helpshift / dexter Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi,
it seems that the script doesn't work as specified for me. After doing the line
"python dexter -p "
It doesn't create helpshift.aar file. It does though unpack EVERY aar file I had in the project and leaves them as such in assets/plugins/android.
To be sure - I've used python 2.7.15, and I'm doing it on Windows.
I've to learn python.
How and where do I put the PluginToAAR.py file?
Do I've to edit the file?
Running
C:\Python27>python PluginToAAR.py -p C:\Users\Venom\projects\playunity\Empty2018.1.9f1
produces WindowsError2
Environment:
Windows 10
Python 2.7.9 https://www.python.org/ftp/python/2.7.9/python-2.7.9.amd64.msi
Unity 2018.1.9f1
Steps to reproduce:
Create empty unity project
Then follow instructions: https://developers.helpshift.com/unity/getting-started-android/
Details:
import unitypackage (Helpshift SDK-only dex unity package v. 4.1.0)
change ${applicationId} with в Plugins/Android/helpshift/AndroidManifest.xml
run build - will get error
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Java\jdk1.8.0_181\bin\java.exe -classpath "C:\Users\Venom\projects\supercity.sdk\Unity-2018.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
stderr[
warning: string 'status_bar_notification_info_overflow' has no default translation.
C:\Users\Venom\projects\playunity\Empty2018.1.9f1\Temp\gradleOut\design-26.0.2\build\intermediates\bundles\default\res\values\values.xml:238: AAPT: Error retrieving parent for item: No resource found that matches the given name 'Animation.AppCompat.Dialog'.
C:\Users\Venom\projects\playunity\Empty2018.1.9f1\Temp\gradleOut\design-26.0.2\build\intermediates\bundles\default\res\values\values.xml:256: AAPT: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Display1'.
...
a. remove dirs
b. put aars (downloaded from e.g. https://mvnrepository.com/artifact/com.android.support/support-vector-drawable/26.0.2)
c. download python 2.7.9 (it's bundled with pip)
d. run pip install requests==2.7.0
d. run:
C:\Python27>python PluginToAAR.py -p C:\Users\Venom\projects\playunity\Empty2018.1.9f1
INFO:root:Checking for updates...
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): raw.githubusercontent.com
INFO:root:Creating backup of "C:\Users\Venom\projects\playunity\Empty2018.1.9f1\Assets\Plugins\Android\helpshift" at C:\Users\Venom\projects\playunity\Empty2018.1.9f1\helpshift_bkp
Traceback (most recent call last):
File "PluginToAAR.py", line 109, in
sys.exit(main(args))
File "PluginToAAR.py", line 92, in main
aar_path = generate_aar(helpshift_aar_unzipped)
File "PluginToAAR.py", line 41, in generate_aar
call(["jar", "cvf", "Helpshift.aar","."])
File "C:\Python27\lib\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Python27\lib\subprocess.py", line 710, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.