你好我有一个工作区,2个项目并行工作。我想使用Project-2 plist文件信息在Project-1中的localized.strings文件中使用。我不确定这样做的正确方法。你能给我一些想法吗?
项目2- plistCamera.plist
machine:
environment:
PATH: "~/$CIRCLE_PROJECT_REPONAME/gradle-2.9/bin:$PATH"
TERM: "dumb"
ADB_INSTALL_TIMEOUT: "10"
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter tools
- echo y | android update sdk --no-ui --all --filter platform-tools
- echo y | android update sdk --no-ui --all --filter extra-android-m2repository
- echo y | android update sdk --no-ui --all --filter extra-android-support
- echo y | android update sdk --no-ui --all --filter extra-google-google_play_services
- echo y | android update sdk --no-ui --all --filter extra-google-m2repository
- echo y | android update sdk --no-ui --all --filter android-22
- echo y | android update sdk --no-ui --all --filter build-tools-23.0.2
- echo y | android update sdk -a -u -t sys-img-armeabi-v7a-google_apis-22
- android list targets
test:
override:
- echo no | android create avd -n custom-android22-googleapis -t "android-22" --abi google_apis/armeabi-v7a
- android list avd
- emulator -avd custom-android22-googleapis -no-audio -no-window:
background: true
parallel: true
# wait for emulator to have booted
- circle-android wait-for-boot
# Sleeping isn't a brilliant fix...
- sleep 30
- fb-adb rcmd screencap -p > $CIRCLE_ARTIFACTS/screen-$(date +"%T").png
- adb shell input keyevent 82
- ./gradlew connectedAndroidTest -PdisablePreDex --console=plain --info
#- fb-adb devices
- fb-adb rcmd screencap -p > $CIRCLE_ARTIFACTS/screen-$(date +"%T").png
project2Camera.m
<array>
<dict>
<key>Icon</key>
<string>icon_lotr</string>
<key>Title</key>
<string>See the LOTR code</string>
<key>Image</key>
<string>lotr-help-01</string>
<key>Description</key>
<string>Please ensure that the lotr code of the document is fits in the screen.</string>
</dict>
<dict>
<key>Icon</key>
<string>icon_lotr</string>
<key>Image</key>
<string>mrz-help-lotr2</string>
<key>Description</key>
<string>The direction of the code is not important.</string>
</dict>
</array>
项目1-(土耳其语) localized.strings
helpControler.helpContent = NSLocalizedString(@"plistCamera", nil);