avs-device-sdk icon indicating copy to clipboard operation
avs-device-sdk copied to clipboard

Issue while building the sdk

Open JordanTaylo opened this issue 4 years ago • 5 comments

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

Building the SDK Always giving me this error

/build/Integration/tmp_AlexaClientSDKConfig.json
awk: newline in string  {
    "gstreamerMed... at source line 1
awk: newline in string  {
    "gstreamerMed... at source line 1
awk: newline in string  {
    "gstreamerMed... at source line 1

What is the expected behavior?

build the sdk

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

followed the steps but getting this error after i run bash setup.sh config.json -a androidConfig.txt

/build/Integration/tmp_AlexaClientSDKConfig.json awk: newline in string { "gstreamerMed... at source line 1 awk: newline in string { "gstreamerMed... at source line 1 awk: newline in string { "gstreamerMed... at source line 1

Tell us about your environment:

What version of the AVS Device SDK are you using?

1.23.0 OS -> MAC Building for Android

Tell us what hardware you're using:

Laptop MAC

Tell us about your OS (Type & version):

MacOS

JordanTaylo avatar May 24 '21 01:05 JordanTaylo

Hi @JordanTaylo,

Can you please confirm if androidConfig.txt contains valid JSON? Ie, there are no missing or invalid characters?

kjkh avatar Jun 01 '21 21:06 kjkh

Hi @kjkh that is my androidConfig.txt

PLATFORM="android"
API_LEVEL="23"
TARGET_SYSTEM="arm"
DEVICE_INSTALL_PATH="/new/data"
BUILD_TYPE="debug"

JordanTaylo avatar Jun 04 '21 16:06 JordanTaylo

Hi @JordanTaylo, could you try commenting out or deleting this line here in setup.sh file in your workspace?

kclchan avatar Jun 11 '21 22:06 kclchan

Hi, I have the same error and we did comment that line. Once we did, the process continued but since that line copy the content of the temp config file to the output config file, the output file on my device was empty.

I logged what $GSTREAMER_CONFIG was and copied it manually into the temp file and I copied it on my device but this didn't help at all since once the StartSample ran, all we had was a bunch of garbage character that made no sense.

krustache avatar Jul 23 '21 13:07 krustache

I have the same error.If i comment that line.Build success, but the file "AlexaClientSDKConfig.json" is empty. How to solve this problem?

HelloYuGi avatar Sep 17 '21 02:09 HelloYuGi

Hello @JordanTaylo, @HelloYuGi, @krustache, Are you still experiencing this issue? Are you able to reproduce this on the latest version of the SDK?

blazusiak-amazon avatar Aug 22 '22 00:08 blazusiak-amazon

Closing due to inactivity. If there are additional requests for support, please create a new ticket linking to this one.

kjkh avatar Sep 05 '22 23:09 kjkh